~alphapapa/pithos/888778

« back to all changes in this revision

Viewing changes to data/ui/PreferencesPithosDialog.ui

  • Committer: Adam Porter
  • Date: 2011-12-21 09:49:15 UTC
  • Revision ID: adam@alphapapa.net-20111221094915-p43qin9i1xfd75g6
The libindicator icon doesn't work that well, at least on KDE.  1) It doesn't support the left-click event on KDE, 2) it doesn't show the right icons on KDE.  And these bugs depend on libappindicator being updated--we're at their mercy.  So I made a "status_icon" plugin that's just a copy of the notification_icon plugin without the libindicator code, so it only uses a Gtk status icon.  And that shows the right icons on KDE and supports the left-click event, so a simple left click shows and hides the window.  The preferences allow either or both to be enabled, so users can try both.  I suppose a group enabled by a checkbox containing radio buttons might be more correct, but this is simple and works.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
              </packing>
136
136
            </child>
137
137
            <child>
 
138
              <object class="GtkCheckButton" id="checkbutton_indicator">
 
139
                <property name="label" translatable="yes">Show indicator icon (newer)</property>
 
140
                <property name="visible">True</property>
 
141
                <property name="can_focus">True</property>
 
142
                <property name="receives_default">False</property>
 
143
                <property name="draw_indicator">True</property>
 
144
              </object>
 
145
              <packing>
 
146
                <property name="left_attach">1</property>
 
147
                <property name="right_attach">3</property>
 
148
                <property name="top_attach">9</property>
 
149
                <property name="bottom_attach">10</property>
 
150
              </packing>
 
151
            </child>
 
152
            <child>
 
153
              <object class="GtkCheckButton" id="checkbutton_status">
 
154
                <property name="label" translatable="yes">Show status icon (older)</property>
 
155
                <property name="visible">True</property>
 
156
                <property name="can_focus">True</property>
 
157
                <property name="receives_default">False</property>
 
158
                <property name="draw_indicator">True</property>
 
159
              </object>
 
160
              <packing>
 
161
                <property name="left_attach">1</property>
 
162
                <property name="right_attach">3</property>
 
163
                <property name="top_attach">10</property>
 
164
                <property name="bottom_attach">11</property>
 
165
              </packing>
 
166
            </child>
 
167
            <child>
138
168
              <object class="GtkCheckButton" id="checkbutton_screensaverpause">
139
169
                <property name="label" translatable="yes">Pause when screensaver is active</property>
140
170
                <property name="visible">True</property>
146
176
              <packing>
147
177
                <property name="left_attach">1</property>
148
178
                <property name="right_attach">4</property>
149
 
                <property name="top_attach">10</property>
150
 
                <property name="bottom_attach">11</property>
 
179
                <property name="top_attach">11</property>
 
180
                <property name="bottom_attach">12</property>
151
181
              </packing>
152
182
            </child>
153
183
            <child>
215
245
              </packing>
216
246
            </child>
217
247
            <child>
218
 
              <object class="GtkCheckButton" id="checkbutton_icon">
219
 
                <property name="label" translatable="yes">Show notification area icon</property>
220
 
                <property name="visible">True</property>
221
 
                <property name="can_focus">True</property>
222
 
                <property name="receives_default">False</property>
223
 
                <property name="draw_indicator">True</property>
224
 
              </object>
225
 
              <packing>
226
 
                <property name="left_attach">1</property>
227
 
                <property name="right_attach">3</property>
228
 
                <property name="top_attach">9</property>
229
 
                <property name="bottom_attach">10</property>
230
 
              </packing>
231
 
            </child>
232
 
            <child>
233
248
              <object class="GtkLabel" id="label7">
234
249
                <property name="visible">True</property>
235
250
                <property name="xalign">0</property>
240
255
              </object>
241
256
              <packing>
242
257
                <property name="right_attach">3</property>
243
 
                <property name="top_attach">11</property>
244
 
                <property name="bottom_attach">12</property>
 
258
                <property name="top_attach">13</property>
 
259
                <property name="bottom_attach">14</property>
245
260
              </packing>
246
261
            </child>
247
262
            <child>
254
269
              <packing>
255
270
                <property name="left_attach">1</property>
256
271
                <property name="right_attach">3</property>
257
 
                <property name="top_attach">12</property>
258
 
                <property name="bottom_attach">13</property>
 
272
                <property name="top_attach">15</property>
 
273
                <property name="bottom_attach">16</property>
259
274
              </packing>
260
275
            </child>
261
276
            <child>