Add an option to set notification width.
[gmpc.git] / glade / preferences-trayicon.ui
blob84a9f447d5eb30dc4c4ce5e43a5f107882d07245
1 <?xml version="1.0"?>
2 <!--*- mode: xml -*-->
3 <interface>
4 <object class="GtkAdjustment" id="adjustment1">
5 <property name="upper">60</property>
6 <property name="lower">1</property>
7 <property name="page_increment">10</property>
8 <property name="step_increment">1</property>
9 <property name="page_size">0</property>
10 <property name="value">5</property>
11 </object>
12 <object class="GtkAdjustment" id="adjustment2">
13 <property name="upper">9999</property>
14 <property name="lower">100</property>
15 <property name="page_increment">10</property>
16 <property name="step_increment">1</property>
17 <property name="page_size">0</property>
18 <property name="value">300</property>
19 </object>
20 <object class="GtkListStore" id="model1">
21 <columns>
22 <column type="gchararray"/>
23 </columns>
24 <data>
25 <row>
26 <col id="0">At the notification area icon</col>
27 </row>
28 <row>
29 <col id="0">Upper Left Corner</col>
30 </row>
31 <row>
32 <col id="0">Upper Right Corner</col>
33 </row>
34 <row>
35 <col id="0">Lower Left Corner</col>
36 </row>
37 <row>
38 <col id="0">Lower Right Corner</col>
39 </row>
40 </data>
41 </object>
42 <object class="GtkListStore" id="model2">
43 <columns>
44 <column type="gchararray"/>
45 </columns>
46 <data>
47 <row>
48 <col id="0">information and up</col>
49 </row>
50 <row>
51 <col id="0">warning and up</col>
52 </row>
53 <row>
54 <col id="0">error</col>
55 </row>
56 <row>
57 <col id="0">none</col>
58 </row>
59 </data>
60 </object>
61 <object class="GtkVBox" id="tray-pref-vbox">
62 <property name="visible">True</property>
63 <property name="spacing">6</property>
64 <child>
65 <object class="GtkFrame" id="frame15">
66 <property name="visible">True</property>
67 <property name="label_xalign">0</property>
68 <property name="shadow_type">GTK_SHADOW_NONE</property>
69 <child>
70 <object class="GtkTable" id="table13">
71 <property name="visible">True</property>
72 <property name="border_width">12</property>
73 <property name="n_rows">3</property>
74 <property name="n_columns">2</property>
75 <property name="column_spacing">6</property>
76 <property name="row_spacing">6</property>
77 <child>
78 <object class="GtkCheckButton" id="ck_popup_enable">
79 <property name="visible">True</property>
80 <property name="can_focus">True</property>
81 <property name="label" translatable="yes">Show on song change</property>
82 <property name="use_underline">True</property>
83 <property name="draw_indicator">True</property>
84 <signal handler="popup_enable_toggled" name="toggled"/>
85 </object>
86 <packing>
87 <property name="right_attach">2</property>
88 <property name="x_options">GTK_FILL</property>
89 <property name="y_options"/>
90 </packing>
91 </child>
92 <child>
93 <object class="GtkAlignment" id="alignment33">
94 <property name="visible">True</property>
95 <property name="xalign">0</property>
96 <property name="xscale">0</property>
97 <child>
98 <object class="GtkSpinButton" id="popup_timeout">
99 <property name="visible">True</property>
100 <property name="can_focus">True</property>
101 <property name="adjustment">adjustment1</property>
102 <property name="climb_rate">1</property>
103 <property name="snap_to_ticks">True</property>
104 <property name="numeric">True</property>
105 <property name="wrap">True</property>
106 <property name="update_policy">GTK_UPDATE_IF_VALID</property>
107 <signal handler="popup_timeout_changed" name="value_changed"/>
108 </object>
109 </child>
110 </object>
111 <packing>
112 <property name="left_attach">1</property>
113 <property name="right_attach">2</property>
114 <property name="top_attach">1</property>
115 <property name="bottom_attach">2</property>
116 <property name="x_options">GTK_SHRINK | GTK_FILL</property>
117 <property name="y_options">GTK_FILL</property>
118 </packing>
119 </child>
120 <child>
121 <object class="GtkLabel" id="label142">
122 <property name="visible">True</property>
123 <property name="xalign">1</property>
124 <property name="label" translatable="yes">Timeout:</property>
125 </object>
126 <packing>
127 <property name="top_attach">1</property>
128 <property name="bottom_attach">2</property>
129 <property name="x_options">GTK_FILL</property>
130 <property name="y_options"/>
131 </packing>
132 </child>
133 <child>
134 <object class="GtkAlignment" id="alignment99">
135 <property name="visible">True</property>
136 <property name="xalign">0</property>
137 <property name="xscale">0</property>
138 <child>
139 <object class="GtkSpinButton" id="popup_width">
140 <property name="visible">True</property>
141 <property name="can_focus">True</property>
142 <property name="adjustment">adjustment2</property>
143 <property name="climb_rate">1</property>
144 <property name="snap_to_ticks">True</property>
145 <property name="numeric">True</property>
146 <property name="wrap">True</property>
147 <property name="update_policy">GTK_UPDATE_IF_VALID</property>
148 <signal handler="popup_width_changed" name="value_changed"/>
149 </object>
150 </child>
151 </object>
152 <packing>
153 <property name="left_attach">1</property>
154 <property name="right_attach">2</property>
155 <property name="top_attach">2</property>
156 <property name="bottom_attach">3</property>
157 <property name="x_options">GTK_SHRINK | GTK_FILL</property>
158 <property name="y_options">GTK_FILL</property>
159 </packing>
160 </child>
161 <child>
162 <object class="GtkLabel" id="label199">
163 <property name="visible">True</property>
164 <property name="xalign">1</property>
165 <property name="label" translatable="yes">Width:</property>
166 </object>
167 <packing>
168 <property name="top_attach">2</property>
169 <property name="bottom_attach">3</property>
170 <property name="x_options">GTK_FILL</property>
171 <property name="y_options"/>
172 </packing>
173 </child>
174 <child>
175 <object class="GtkLabel" id="label143">
176 <property name="visible">True</property>
177 <property name="xalign">1</property>
178 <property name="label" translatable="yes">Position:</property>
179 </object>
180 <packing>
181 <property name="top_attach">3</property>
182 <property name="bottom_attach">4</property>
183 <property name="x_options">GTK_FILL</property>
184 <property name="y_options"/>
185 </packing>
186 </child>
187 <child>
188 <object class="GtkComboBox" id="om_popup_position">
189 <property name="visible">True</property>
190 <signal handler="popup_position_changed" name="changed"/>
191 <property name="model">model1</property>
192 <child>
193 <object class="GtkCellRendererText" id="renderer1"/>
194 <attributes>
195 <attribute name="text">0</attribute>
196 </attributes>
197 </child>
198 </object>
199 <packing>
200 <property name="left_attach">1</property>
201 <property name="right_attach">2</property>
202 <property name="top_attach">3</property>
203 <property name="bottom_attach">4</property>
204 <property name="x_options">GTK_FILL</property>
205 <property name="y_options">GTK_FILL</property>
206 </packing>
207 </child>
208 </object>
209 </child>
210 <child type="label">
211 <object class="GtkLabel" id="label144">
212 <property name="visible">True</property>
213 <property name="label" translatable="yes">&lt;b&gt;Buildin PopUp&lt;/b&gt;</property>
214 <property name="use_markup">True</property>
215 </object>
216 </child>
217 </object>
218 <packing>
219 <property name="expand">False</property>
220 </packing>
221 </child>
222 <!-- Libnotify stuff -->
223 <child>
224 <object class="GtkFrame" id="frame_libnotify">
225 <property name="visible">True</property>
226 <property name="label_xalign">0.0</property>
227 <property name="shadow_type">GTK_SHADOW_NONE</property>
228 <child>
229 <object class="GtkCheckButton" id="ck_libnotify_enable">
230 <property name="visible">True</property>
231 <property name="can_focus">True</property>
232 <property name="border-width">6</property>
233 <property name="label" translatable="yes">Enable</property>
234 <property name="use_underline">True</property>
235 <property name="draw_indicator">True</property>
236 <signal handler="libnotify_enable_toggled" name="toggled"/>
237 </object>
238 </child>
239 <child type="label">
240 <object class="GtkLabel" id="label_frame_libnotify">
241 <property name="visible">True</property>
242 <property name="label" translatable="yes">&lt;b&gt;Desktop Environment Notification&lt;/b&gt;</property>
243 <property name="use_markup">True</property>
244 </object>
245 </child>
246 </object>
247 <packing>
248 <property name="expand">False</property>
249 <property name="position">1</property>
250 </packing>
251 </child>
252 <child>
253 <object class="GtkFrame" id="frame16">
254 <property name="visible">True</property>
255 <property name="label_xalign">0</property>
256 <property name="shadow_type">GTK_SHADOW_NONE</property>
257 <child>
258 <object class="GtkTable" id="table14">
259 <property name="visible">True</property>
260 <property name="border_width">12</property>
261 <property name="n_columns">2</property>
262 <property name="column_spacing">6</property>
263 <property name="row_spacing">6</property>
264 <child>
265 <object class="GtkCheckButton" id="ck_tray_enable">
266 <property name="visible">True</property>
267 <property name="can_focus">True</property>
268 <property name="label" translatable="yes">Enable</property>
269 <property name="use_underline">True</property>
270 <property name="draw_indicator">True</property>
271 <signal handler="tray_enable_toggled" name="toggled"/>
272 </object>
273 <packing>
274 <property name="right_attach">2</property>
275 <property name="x_options">GTK_FILL</property>
276 <property name="y_options"/>
277 </packing>
278 </child>
279 </object>
280 </child>
281 <child type="label">
282 <object class="GtkLabel" id="label145">
283 <property name="visible">True</property>
284 <property name="label" translatable="yes">&lt;b&gt;Notification Area Icon&lt;/b&gt;</property>
285 <property name="use_markup">True</property>
286 </object>
287 </child>
288 </object>
289 <packing>
290 <property name="position">2</property>
291 </packing>
292 </child>
293 <child>
294 <object class="GtkFrame" id="frame19">
295 <property name="visible">True</property>
296 <property name="label_xalign">0</property>
297 <property name="shadow_type">GTK_SHADOW_NONE</property>
298 <child>
299 <object class="GtkAlignment" id="alignment47">
300 <property name="visible">True</property>
301 <property name="border_width">12</property>
302 <property name="yalign">0</property>
303 <property name="yscale">0</property>
304 <child>
305 <object class="GtkHBox" id="hbox62">
306 <property name="visible">True</property>
307 <property name="spacing">6</property>
308 <child>
309 <object class="GtkLabel" id="label176">
310 <property name="visible">True</property>
311 <property name="label" translatable="yes">Show severity</property>
312 </object>
313 <packing>
314 <property name="expand">False</property>
315 <property name="fill">False</property>
316 </packing>
317 </child>
318 <child>
319 <object class="GtkComboBox" id="pm-combo">
320 <property name="visible">True</property>
321 <signal handler="tray_icon2_preferences_pm_combo_changed" name="changed"/>
322 <property name="model">model2</property>
323 <child>
324 <object class="GtkCellRendererText" id="renderer2"/>
325 <attributes>
326 <attribute name="text">0</attribute>
327 </attributes>
328 </child>
329 </object>
330 <packing>
331 <property name="position">1</property>
332 </packing>
333 </child>
334 </object>
335 </child>
336 </object>
337 </child>
338 <child type="label">
339 <object class="GtkLabel" id="label175">
340 <property name="visible">True</property>
341 <property name="label" translatable="yes">&lt;b&gt;Inline messages&lt;/b&gt;</property>
342 <property name="use_markup">True</property>
343 </object>
344 </child>
345 </object>
346 <packing>
347 <property name="position">3</property>
348 </packing>
349 </child>
350 </object>
351 </interface>