|
1 | | -<?xml version="1.0"?> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- Generated with glade 3.22.0 --> |
2 | 3 | <interface> |
3 | | - <!-- interface-requires gtk+ 2.6 --> |
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">system-run</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> |
5 | 15 | <object class="GtkDialog" id="toplevel"> |
6 | 16 | <property name="visible">True</property> |
| 17 | + <property name="can_focus">False</property> |
7 | 18 | <property name="title" translatable="yes" comments="This is an utility to easily test various applets">Test applet utility</property> |
8 | 19 | <property name="resizable">False</property> |
9 | 20 | <property name="type_hint">dialog</property> |
10 | | - <signal name="destroy" handler="gtk_main_quit"/> |
| 21 | + <signal name="destroy" handler="gtk_main_quit" swapped="no"/> |
11 | 22 | <child internal-child="vbox"> |
12 | | - <object class="GtkVBox" id="dialog-vbox1"> |
| 23 | + <object class="GtkBox" id="dialog-vbox1"> |
13 | 24 | <property name="visible">True</property> |
| 25 | + <property name="can_focus">False</property> |
14 | 26 | <property name="orientation">vertical</property> |
15 | 27 | <property name="spacing">8</property> |
| 28 | + <child internal-child="action_area"> |
| 29 | + <object class="GtkButtonBox" id="dialog-action_area1"> |
| 30 | + <property name="visible">True</property> |
| 31 | + <property name="can_focus">False</property> |
| 32 | + <property name="layout_style">end</property> |
| 33 | + <child> |
| 34 | + <object class="GtkButton" id="ok-button"> |
| 35 | + <property name="label" translatable="yes">_Execute</property> |
| 36 | + <property name="visible">True</property> |
| 37 | + <property name="can_focus">True</property> |
| 38 | + <property name="can_default">True</property> |
| 39 | + <property name="receives_default">False</property> |
| 40 | + <property name="image">image1</property> |
| 41 | + <property name="use_underline">True</property> |
| 42 | + <signal name="clicked" handler="on_execute_button_clicked" swapped="no"/> |
| 43 | + </object> |
| 44 | + <packing> |
| 45 | + <property name="expand">False</property> |
| 46 | + <property name="fill">False</property> |
| 47 | + <property name="position">0</property> |
| 48 | + </packing> |
| 49 | + </child> |
| 50 | + <child> |
| 51 | + <object class="GtkButton" id="button1"> |
| 52 | + <property name="label" translatable="yes">_Close</property> |
| 53 | + <property name="visible">True</property> |
| 54 | + <property name="can_focus">True</property> |
| 55 | + <property name="can_default">True</property> |
| 56 | + <property name="receives_default">False</property> |
| 57 | + <property name="image">image2</property> |
| 58 | + <property name="use_underline">True</property> |
| 59 | + <signal name="clicked" handler="gtk_main_quit" swapped="no"/> |
| 60 | + </object> |
| 61 | + <packing> |
| 62 | + <property name="expand">False</property> |
| 63 | + <property name="fill">False</property> |
| 64 | + <property name="position">1</property> |
| 65 | + </packing> |
| 66 | + </child> |
| 67 | + </object> |
| 68 | + <packing> |
| 69 | + <property name="expand">False</property> |
| 70 | + <property name="fill">False</property> |
| 71 | + <property name="pack_type">end</property> |
| 72 | + <property name="position">0</property> |
| 73 | + </packing> |
| 74 | + </child> |
16 | 75 | <child> |
17 | | - <object class="GtkTable" id="table2"> |
| 76 | + <object class="GtkGrid" id="table2"> |
18 | 77 | <property name="visible">True</property> |
| 78 | + <property name="can_focus">False</property> |
19 | 79 | <property name="border_width">2</property> |
20 | | - <property name="n_rows">5</property> |
21 | | - <property name="n_columns">2</property> |
22 | | - <property name="column_spacing">4</property> |
23 | 80 | <property name="row_spacing">4</property> |
| 81 | + <property name="column_spacing">4</property> |
24 | 82 | <child> |
25 | 83 | <object class="GtkLabel" id="size-label"> |
26 | 84 | <property name="visible">True</property> |
27 | | - <property name="xalign">1</property> |
| 85 | + <property name="can_focus">False</property> |
28 | 86 | <property name="label" translatable="yes">_Size:</property> |
29 | 87 | <property name="use_underline">True</property> |
30 | 88 | <property name="justify">center</property> |
31 | 89 | <property name="mnemonic_widget">size-combo</property> |
| 90 | + <property name="xalign">1</property> |
32 | 91 | </object> |
33 | 92 | <packing> |
| 93 | + <property name="left_attach">0</property> |
34 | 94 | <property name="top_attach">4</property> |
35 | | - <property name="bottom_attach">5</property> |
36 | | - <property name="x_options">GTK_FILL</property> |
37 | | - <property name="y_options"></property> |
38 | 95 | </packing> |
39 | 96 | </child> |
40 | 97 | <child> |
41 | 98 | <object class="GtkLabel" id="applet-label"> |
42 | 99 | <property name="visible">True</property> |
43 | | - <property name="xalign">1</property> |
| 100 | + <property name="can_focus">False</property> |
44 | 101 | <property name="label" translatable="yes">_Applet:</property> |
45 | 102 | <property name="use_underline">True</property> |
46 | 103 | <property name="justify">center</property> |
47 | 104 | <property name="mnemonic_widget">applet-combo</property> |
| 105 | + <property name="xalign">1</property> |
48 | 106 | </object> |
49 | 107 | <packing> |
50 | | - <property name="x_options">GTK_FILL</property> |
51 | | - <property name="y_options"></property> |
| 108 | + <property name="left_attach">0</property> |
| 109 | + <property name="top_attach">0</property> |
52 | 110 | </packing> |
53 | 111 | </child> |
54 | 112 | <child> |
55 | 113 | <object class="GtkLabel" id="orient-label"> |
56 | 114 | <property name="visible">True</property> |
57 | | - <property name="xalign">1</property> |
| 115 | + <property name="can_focus">False</property> |
58 | 116 | <property name="label" translatable="yes">_Orientation:</property> |
59 | 117 | <property name="use_underline">True</property> |
60 | 118 | <property name="justify">center</property> |
61 | 119 | <property name="mnemonic_widget">orient-combo</property> |
| 120 | + <property name="xalign">1</property> |
62 | 121 | </object> |
63 | 122 | <packing> |
| 123 | + <property name="left_attach">0</property> |
64 | 124 | <property name="top_attach">3</property> |
65 | | - <property name="bottom_attach">4</property> |
66 | | - <property name="x_options">GTK_FILL</property> |
67 | | - <property name="y_options"></property> |
68 | 125 | </packing> |
69 | 126 | </child> |
70 | 127 | <child> |
71 | 128 | <object class="GtkLabel" id="prefs-label"> |
72 | 129 | <property name="visible">True</property> |
73 | | - <property name="xalign">1</property> |
| 130 | + <property name="can_focus">False</property> |
74 | 131 | <property name="label" translatable="yes">_Prefs Path:</property> |
75 | 132 | <property name="use_underline">True</property> |
76 | 133 | <property name="justify">center</property> |
77 | 134 | <property name="mnemonic_widget">prefs-path-entry</property> |
| 135 | + <property name="xalign">1</property> |
78 | 136 | </object> |
79 | 137 | <packing> |
| 138 | + <property name="left_attach">0</property> |
80 | 139 | <property name="top_attach">2</property> |
81 | | - <property name="bottom_attach">3</property> |
82 | | - <property name="x_options">GTK_FILL</property> |
83 | | - <property name="y_options"></property> |
84 | 140 | </packing> |
85 | 141 | </child> |
86 | 142 | <child> |
87 | 143 | <object class="GtkEntry" id="prefs-path-entry"> |
88 | 144 | <property name="visible">True</property> |
89 | 145 | <property name="can_focus">True</property> |
| 146 | + <property name="hexpand">True</property> |
90 | 147 | </object> |
91 | 148 | <packing> |
92 | 149 | <property name="left_attach">1</property> |
93 | | - <property name="right_attach">2</property> |
94 | 150 | <property name="top_attach">2</property> |
95 | | - <property name="bottom_attach">3</property> |
96 | | - <property name="y_options"></property> |
97 | 151 | </packing> |
98 | 152 | </child> |
99 | 153 | <child> |
100 | 154 | <object class="GtkComboBox" id="applet-combo"> |
101 | 155 | <property name="visible">True</property> |
| 156 | + <property name="can_focus">False</property> |
| 157 | + <property name="hexpand">True</property> |
102 | 158 | </object> |
103 | 159 | <packing> |
104 | 160 | <property name="left_attach">1</property> |
105 | | - <property name="right_attach">2</property> |
106 | | - <property name="y_options">GTK_FILL</property> |
| 161 | + <property name="top_attach">0</property> |
107 | 162 | </packing> |
108 | 163 | </child> |
109 | 164 | <child> |
110 | 165 | <object class="GtkComboBox" id="orient-combo"> |
111 | 166 | <property name="visible">True</property> |
| 167 | + <property name="can_focus">False</property> |
| 168 | + <property name="hexpand">True</property> |
112 | 169 | </object> |
113 | 170 | <packing> |
114 | 171 | <property name="left_attach">1</property> |
115 | | - <property name="right_attach">2</property> |
116 | 172 | <property name="top_attach">3</property> |
117 | | - <property name="bottom_attach">4</property> |
118 | | - <property name="y_options">GTK_FILL</property> |
119 | 173 | </packing> |
120 | 174 | </child> |
121 | 175 | <child> |
122 | 176 | <object class="GtkComboBox" id="size-combo"> |
123 | 177 | <property name="visible">True</property> |
| 178 | + <property name="can_focus">False</property> |
| 179 | + <property name="hexpand">True</property> |
124 | 180 | </object> |
125 | 181 | <packing> |
126 | 182 | <property name="left_attach">1</property> |
127 | | - <property name="right_attach">2</property> |
128 | 183 | <property name="top_attach">4</property> |
129 | | - <property name="bottom_attach">5</property> |
130 | | - <property name="y_options">GTK_FILL</property> |
131 | 184 | </packing> |
132 | 185 | </child> |
133 | 186 | <child> |
134 | | - <object class="GtkHSeparator" id="hseparator2"> |
| 187 | + <object class="GtkSeparator" id="hseparator2"> |
135 | 188 | <property name="visible">True</property> |
| 189 | + <property name="can_focus">False</property> |
| 190 | + <property name="valign">center</property> |
136 | 191 | </object> |
137 | 192 | <packing> |
138 | | - <property name="right_attach">2</property> |
| 193 | + <property name="left_attach">0</property> |
139 | 194 | <property name="top_attach">1</property> |
140 | | - <property name="bottom_attach">2</property> |
141 | | - <property name="y_options">GTK_FILL</property> |
| 195 | + <property name="width">2</property> |
142 | 196 | </packing> |
143 | 197 | </child> |
144 | 198 | </object> |
|
148 | 202 | <property name="position">1</property> |
149 | 203 | </packing> |
150 | 204 | </child> |
151 | | - <child internal-child="action_area"> |
152 | | - <object class="GtkHButtonBox" id="dialog-action_area1"> |
153 | | - <property name="visible">True</property> |
154 | | - <property name="layout_style">end</property> |
155 | | - <child> |
156 | | - <object class="GtkButton" id="ok-button"> |
157 | | - <property name="label">gtk-execute</property> |
158 | | - <property name="visible">True</property> |
159 | | - <property name="can_focus">True</property> |
160 | | - <property name="can_default">True</property> |
161 | | - <property name="receives_default">False</property> |
162 | | - <property name="use_stock">True</property> |
163 | | - <signal name="clicked" handler="on_execute_button_clicked"/> |
164 | | - </object> |
165 | | - <packing> |
166 | | - <property name="expand">False</property> |
167 | | - <property name="fill">False</property> |
168 | | - <property name="position">0</property> |
169 | | - </packing> |
170 | | - </child> |
171 | | - <child> |
172 | | - <object class="GtkButton" id="button1"> |
173 | | - <property name="label">gtk-close</property> |
174 | | - <property name="visible">True</property> |
175 | | - <property name="can_focus">True</property> |
176 | | - <property name="can_default">True</property> |
177 | | - <property name="receives_default">False</property> |
178 | | - <property name="use_stock">True</property> |
179 | | - <signal name="clicked" handler="gtk_main_quit"/> |
180 | | - </object> |
181 | | - <packing> |
182 | | - <property name="expand">False</property> |
183 | | - <property name="fill">False</property> |
184 | | - <property name="position">1</property> |
185 | | - </packing> |
186 | | - </child> |
187 | | - </object> |
188 | | - <packing> |
189 | | - <property name="expand">False</property> |
190 | | - <property name="fill">False</property> |
191 | | - <property name="pack_type">end</property> |
192 | | - <property name="position">0</property> |
193 | | - </packing> |
194 | | - </child> |
195 | 205 | </object> |
196 | 206 | </child> |
197 | 207 | <action-widgets> |
198 | 208 | <action-widget response="0">ok-button</action-widget> |
199 | 209 | <action-widget response="-7">button1</action-widget> |
200 | 210 | </action-widgets> |
| 211 | + <child> |
| 212 | + <placeholder/> |
| 213 | + </child> |
201 | 214 | </object> |
202 | 215 | </interface> |
0 commit comments