Skip to content

Commit 4d26d40

Browse files
sc0wlukefromdc
authored andcommitted
window-list.ui: avoid GtkVBox and GtkButton:use-stock
1 parent d3aacfe commit 4d26d40

File tree

1 file changed

+97
-54
lines changed

1 file changed

+97
-54
lines changed

applets/wncklet/window-list.ui

Lines changed: 97 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,93 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Generated with glade 3.22.0 -->
23
<interface>
3-
<requires lib="gtk+" version="2.16"/>
4-
<!-- interface-naming-policy toplevel-contextual -->
4+
<requires lib="gtk+" version="3.22"/>
5+
<object class="GtkImage" id="image1">
6+
<property name="visible">True</property>
7+
<property name="can_focus">False</property>
8+
<property name="icon_name">help-browser</property>
9+
</object>
10+
<object class="GtkImage" id="image2">
11+
<property name="visible">True</property>
12+
<property name="can_focus">False</property>
13+
<property name="icon_name">window-close</property>
14+
</object>
515
<object class="GtkDialog" id="tasklist_properties_dialog">
16+
<property name="can_focus">False</property>
617
<property name="border_width">5</property>
718
<property name="title" translatable="yes">Window List Preferences</property>
819
<property name="type_hint">normal</property>
920
<child internal-child="vbox">
10-
<object class="GtkVBox" id="dialog-vbox2">
21+
<object class="GtkBox" id="dialog-vbox2">
1122
<property name="visible">True</property>
23+
<property name="can_focus">False</property>
1224
<property name="orientation">vertical</property>
1325
<property name="spacing">2</property>
26+
<child internal-child="action_area">
27+
<object class="GtkButtonBox" id="dialog-action_area2">
28+
<property name="visible">True</property>
29+
<property name="can_focus">False</property>
30+
<child>
31+
<object class="GtkButton" id="help_button">
32+
<property name="label" translatable="yes">_Help</property>
33+
<property name="visible">True</property>
34+
<property name="can_focus">True</property>
35+
<property name="can_default">True</property>
36+
<property name="receives_default">False</property>
37+
<property name="image">image1</property>
38+
<property name="use_underline">True</property>
39+
</object>
40+
<packing>
41+
<property name="expand">False</property>
42+
<property name="fill">False</property>
43+
<property name="position">0</property>
44+
</packing>
45+
</child>
46+
<child>
47+
<object class="GtkButton" id="done_button">
48+
<property name="label" translatable="yes">_Close</property>
49+
<property name="visible">True</property>
50+
<property name="can_focus">True</property>
51+
<property name="can_default">True</property>
52+
<property name="has_default">True</property>
53+
<property name="receives_default">False</property>
54+
<property name="image">image2</property>
55+
<property name="use_underline">True</property>
56+
</object>
57+
<packing>
58+
<property name="expand">False</property>
59+
<property name="fill">False</property>
60+
<property name="position">1</property>
61+
</packing>
62+
</child>
63+
</object>
64+
<packing>
65+
<property name="expand">False</property>
66+
<property name="fill">False</property>
67+
<property name="pack_type">end</property>
68+
<property name="position">1</property>
69+
</packing>
70+
</child>
1471
<child>
15-
<object class="GtkVBox" id="vbox1">
72+
<object class="GtkBox" id="vbox1">
1673
<property name="visible">True</property>
74+
<property name="can_focus">False</property>
1775
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
1876
<property name="border_width">5</property>
1977
<property name="orientation">vertical</property>
2078
<property name="spacing">18</property>
2179
<child>
22-
<object class="GtkVBox" id="vbox7">
80+
<object class="GtkBox" id="vbox7">
2381
<property name="visible">True</property>
82+
<property name="can_focus">False</property>
2483
<property name="orientation">vertical</property>
2584
<property name="spacing">6</property>
2685
<child>
2786
<object class="GtkLabel" id="label1">
2887
<property name="visible">True</property>
29-
<property name="xalign">0</property>
88+
<property name="can_focus">False</property>
3089
<property name="label" translatable="yes">Window List Content</property>
90+
<property name="xalign">0</property>
3191
<attributes>
3292
<attribute name="weight" value="bold"/>
3393
</attributes>
@@ -41,11 +101,13 @@
41101
<child>
42102
<object class="GtkAlignment" id="alignment1">
43103
<property name="visible">True</property>
104+
<property name="can_focus">False</property>
44105
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
45106
<property name="left_padding">12</property>
46107
<child>
47-
<object class="GtkVBox" id="vbox9">
108+
<object class="GtkBox" id="vbox9">
48109
<property name="visible">True</property>
110+
<property name="can_focus">False</property>
49111
<property name="orientation">vertical</property>
50112
<property name="spacing">6</property>
51113
<child>
@@ -83,25 +145,30 @@
83145
</child>
84146
</object>
85147
<packing>
148+
<property name="expand">False</property>
149+
<property name="fill">True</property>
86150
<property name="position">1</property>
87151
</packing>
88152
</child>
89153
</object>
90154
<packing>
91155
<property name="expand">False</property>
156+
<property name="fill">True</property>
92157
<property name="position">0</property>
93158
</packing>
94159
</child>
95160
<child>
96-
<object class="GtkVBox" id="vbox11">
161+
<object class="GtkBox" id="vbox11">
97162
<property name="visible">True</property>
163+
<property name="can_focus">False</property>
98164
<property name="orientation">vertical</property>
99165
<property name="spacing">6</property>
100166
<child>
101167
<object class="GtkLabel" id="label3">
102168
<property name="visible">True</property>
103-
<property name="xalign">0</property>
169+
<property name="can_focus">False</property>
104170
<property name="label" translatable="yes">Window Grouping</property>
171+
<property name="xalign">0</property>
105172
<attributes>
106173
<attribute name="weight" value="bold"/>
107174
</attributes>
@@ -115,11 +182,13 @@
115182
<child>
116183
<object class="GtkAlignment" id="alignment2">
117184
<property name="visible">True</property>
185+
<property name="can_focus">False</property>
118186
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
119187
<property name="left_padding">12</property>
120188
<child>
121-
<object class="GtkVBox" id="vbox12">
189+
<object class="GtkBox" id="vbox12">
122190
<property name="visible">True</property>
191+
<property name="can_focus">False</property>
123192
<property name="orientation">vertical</property>
124193
<property name="spacing">6</property>
125194
<child>
@@ -173,25 +242,30 @@
173242
</child>
174243
</object>
175244
<packing>
245+
<property name="expand">False</property>
246+
<property name="fill">True</property>
176247
<property name="position">1</property>
177248
</packing>
178249
</child>
179250
</object>
180251
<packing>
181252
<property name="expand">False</property>
253+
<property name="fill">True</property>
182254
<property name="position">2</property>
183255
</packing>
184256
</child>
185257
<child>
186-
<object class="GtkVBox" id="vbox13">
258+
<object class="GtkBox" id="vbox13">
187259
<property name="visible">True</property>
260+
<property name="can_focus">False</property>
188261
<property name="orientation">vertical</property>
189262
<property name="spacing">6</property>
190263
<child>
191264
<object class="GtkLabel" id="minimized_windows_label">
192265
<property name="visible">True</property>
193-
<property name="xalign">0</property>
266+
<property name="can_focus">False</property>
194267
<property name="label" translatable="yes">Restoring Minimized Windows</property>
268+
<property name="xalign">0</property>
195269
<attributes>
196270
<attribute name="weight" value="bold"/>
197271
</attributes>
@@ -205,11 +279,13 @@
205279
<child>
206280
<object class="GtkAlignment" id="alignment3">
207281
<property name="visible">True</property>
282+
<property name="can_focus">False</property>
208283
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
209284
<property name="left_padding">12</property>
210285
<child>
211-
<object class="GtkVBox" id="vbox14">
286+
<object class="GtkBox" id="vbox14">
212287
<property name="visible">True</property>
288+
<property name="can_focus">False</property>
213289
<property name="orientation">vertical</property>
214290
<property name="spacing">6</property>
215291
<child>
@@ -247,58 +323,22 @@
247323
</child>
248324
</object>
249325
<packing>
326+
<property name="expand">False</property>
327+
<property name="fill">True</property>
250328
<property name="position">1</property>
251329
</packing>
252330
</child>
253331
</object>
254332
<packing>
255333
<property name="expand">False</property>
334+
<property name="fill">True</property>
256335
<property name="position">3</property>
257336
</packing>
258337
</child>
259338
</object>
260-
<packing>
261-
<property name="position">1</property>
262-
</packing>
263-
</child>
264-
<child internal-child="action_area">
265-
<object class="GtkHButtonBox" id="dialog-action_area2">
266-
<property name="visible">True</property>
267-
<child>
268-
<object class="GtkButton" id="help_button">
269-
<property name="label">gtk-help</property>
270-
<property name="visible">True</property>
271-
<property name="can_focus">True</property>
272-
<property name="can_default">True</property>
273-
<property name="receives_default">False</property>
274-
<property name="use_stock">True</property>
275-
</object>
276-
<packing>
277-
<property name="expand">False</property>
278-
<property name="fill">False</property>
279-
<property name="position">0</property>
280-
</packing>
281-
</child>
282-
<child>
283-
<object class="GtkButton" id="done_button">
284-
<property name="label">gtk-close</property>
285-
<property name="visible">True</property>
286-
<property name="can_focus">True</property>
287-
<property name="can_default">True</property>
288-
<property name="has_default">True</property>
289-
<property name="receives_default">False</property>
290-
<property name="use_stock">True</property>
291-
</object>
292-
<packing>
293-
<property name="expand">False</property>
294-
<property name="fill">False</property>
295-
<property name="position">1</property>
296-
</packing>
297-
</child>
298-
</object>
299339
<packing>
300340
<property name="expand">False</property>
301-
<property name="pack_type">end</property>
341+
<property name="fill">True</property>
302342
<property name="position">1</property>
303343
</packing>
304344
</child>
@@ -308,5 +348,8 @@
308348
<action-widget response="-11">help_button</action-widget>
309349
<action-widget response="0">done_button</action-widget>
310350
</action-widgets>
351+
<child>
352+
<placeholder/>
353+
</child>
311354
</object>
312355
</interface>

0 commit comments

Comments
 (0)