Skip to content

Commit 70ce055

Browse files
committed
🔧 GTK3 fixes
1 parent 8fae06e commit 70ce055

File tree

1 file changed

+118
-122
lines changed

1 file changed

+118
-122
lines changed

resources/ui/gtk3/prefs.ui

Lines changed: 118 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -28,168 +28,164 @@
2828
<property name="hexpand">1</property>
2929

3030
<child>
31-
<object class="GtkStackPage">
32-
<property name="name">general</property>
33-
<property name="title" translatable="yes">General Options</property>
31+
<object class="GtkBox" id="general-prefs">
32+
<property name="orientation">vertical</property>
33+
<property name="margin-start">60</property>
34+
<property name="margin-end">60</property>
35+
<property name="margin-top">30</property>
36+
<property name="margin-bottom">30</property>
37+
38+
<child>
39+
<object class="GtkImage">
40+
<property name="valign">center</property>
41+
<property name="icon-name">burn-my-windows-symbolic</property>
42+
<property name="pixel_size">128</property>
43+
</object>
44+
</child>
45+
46+
<child>
47+
<object class="GtkLabel">
48+
<property name="label" translatable="yes">Welcome to Burn-My-Windows!</property>
49+
<property name="margin-top">8</property>
50+
<property name="margin-bottom">6</property>
51+
<style>
52+
<class name="large-title" />
53+
</style>
54+
</object>
55+
</child>
3456

35-
<property name="child">
36-
<object class="GtkBox" id="general-prefs">
37-
<property name="orientation">vertical</property>
38-
<property name="margin-start">60</property>
39-
<property name="margin-end">60</property>
40-
<property name="margin-top">30</property>
41-
<property name="margin-bottom">30</property>
57+
<child>
58+
<object class="GtkLabel">
59+
<property name="label" translatable="yes">If you like this extension, recommend it to your friends :)</property>
60+
<property name="margin-bottom">36</property>
61+
</object>
62+
</child>
4263

43-
<child>
44-
<object class="GtkImage">
45-
<property name="valign">center</property>
46-
<property name="icon-name">burn-my-windows-symbolic</property>
47-
<property name="pixel_size">128</property>
48-
</object>
49-
</child>
5064

65+
<child>
66+
<object class="GtkFrame">
5167
<child>
52-
<object class="GtkLabel">
53-
<property name="label" translatable="yes">Welcome to Burn-My-Windows!</property>
54-
<property name="margin-top">8</property>
55-
<property name="margin-bottom">6</property>
56-
<style>
57-
<class name="large-title" />
58-
</style>
59-
</object>
60-
</child>
68+
<object class="GtkListBox">
69+
<property name="selection-mode">none</property>
6170

62-
<child>
63-
<object class="GtkLabel">
64-
<property name="label" translatable="yes">If you like this extension, recommend it to your friends :)</property>
65-
<property name="margin-bottom">36</property>
66-
</object>
67-
</child>
68-
69-
70-
<child>
71-
<object class="GtkFrame">
7271
<child>
73-
<object class="GtkListBox">
74-
<property name="selection-mode">none</property>
75-
72+
<object class="GtkListBoxRow">
73+
<property name="margin-start">10</property>
74+
<property name="margin-end">10</property>
75+
<property name="margin-top">10</property>
76+
<property name="margin-bottom">10</property>
77+
<property name="activatable">0</property>
7678
<child>
77-
<object class="GtkListBoxRow">
78-
<property name="margin-start">10</property>
79-
<property name="margin-end">10</property>
80-
<property name="margin-top">10</property>
81-
<property name="margin-bottom">10</property>
82-
<property name="activatable">0</property>
79+
<object class="GtkBox">
80+
<property name="spacing">8</property>
8381
<child>
8482
<object class="GtkBox">
85-
<property name="spacing">8</property>
86-
<child>
87-
<object class="GtkBox">
88-
<property name="orientation">vertical</property>
89-
<property name="spacing">3</property>
90-
<child>
91-
<object class="GtkLabel">
92-
<property name="label" translatable="yes">Close Window Animation</property>
93-
<property name="xalign">0</property>
94-
<property name="halign">start</property>
95-
<property name="valign">center</property>
96-
<property name="hexpand">1</property>
97-
</object>
98-
</child>
99-
<child>
100-
<object class="GtkLabel">
101-
<property name="label" translatable="yes">If multiple are selected, one is chosen randomly.</property>
102-
<property name="xalign">0</property>
103-
<property name="halign">start</property>
104-
<property name="valign">center</property>
105-
<property name="hexpand">1</property>
106-
<style>
107-
<class name="dim-label" />
108-
<class name="caption" />
109-
</style>
110-
</object>
111-
</child>
112-
</object>
113-
</child>
114-
<child>
115-
<object class="GtkMenuButton" id="close-effect-button">
116-
<property name="menu-model">close-effect-menu</property>
117-
<child>
118-
<object class="GtkBox">
119-
<property name="spacing">8</property>
120-
<child>
121-
<object class="GtkLabel">
122-
<property name="label" translatable="yes">Choose Effects</property>
123-
</object>
124-
</child>
125-
<child>
126-
<object class="GtkImage">
127-
<property name="icon-name">pan-down-symbolic</property>
128-
<property name="icon-size">1</property>
129-
</object>
130-
</child>
131-
</object>
132-
</child>
133-
</object>
134-
</child>
135-
</object>
136-
</child>
137-
</object>
138-
</child>
139-
140-
<child>
141-
<object class="GtkListBoxRow">
142-
<property name="margin-start">10</property>
143-
<property name="margin-end">10</property>
144-
<property name="margin-top">10</property>
145-
<property name="margin-bottom">10</property>
146-
<property name="activatable">0</property>
147-
<child>
148-
<object class="GtkBox">
149-
<property name="spacing">8</property>
83+
<property name="orientation">vertical</property>
84+
<property name="spacing">3</property>
15085
<child>
15186
<object class="GtkLabel">
152-
<property name="label" translatable="yes">Also Burn Dialogs</property>
87+
<property name="label" translatable="yes">Close Window Animation</property>
15388
<property name="xalign">0</property>
15489
<property name="halign">start</property>
15590
<property name="valign">center</property>
15691
<property name="hexpand">1</property>
15792
</object>
15893
</child>
15994
<child>
160-
<object class="GtkSwitch" id="destroy-dialogs">
161-
<property name="halign">end</property>
95+
<object class="GtkLabel">
96+
<property name="label" translatable="yes">If multiple are selected, one is chosen randomly.</property>
97+
<property name="xalign">0</property>
98+
<property name="halign">start</property>
16299
<property name="valign">center</property>
100+
<property name="hexpand">1</property>
101+
<style>
102+
<class name="dim-label" />
103+
<class name="caption" />
104+
</style>
163105
</object>
164106
</child>
107+
</object>
108+
</child>
109+
<child>
110+
<object class="GtkMenuButton" id="close-effect-button">
111+
<property name="menu-model">close-effect-menu</property>
165112
<child>
166-
<object class="GtkButton" id="reset-destroy-dialogs">
113+
<object class="GtkBox">
114+
<property name="spacing">8</property>
115+
<child>
116+
<object class="GtkLabel">
117+
<property name="label" translatable="yes">Choose Effects</property>
118+
</object>
119+
</child>
167120
<child>
168121
<object class="GtkImage">
169-
<property name="icon-name">edit-clear-symbolic</property>
122+
<property name="icon-name">pan-down-symbolic</property>
170123
<property name="icon-size">1</property>
171124
</object>
172125
</child>
173-
<property name="tooltip-text">Reset to Default Value</property>
174-
<style>
175-
<class name="flat" />
176-
</style>
177126
</object>
178127
</child>
179128
</object>
180129
</child>
181130
</object>
182131
</child>
132+
</object>
133+
</child>
183134

135+
<child>
136+
<object class="GtkListBoxRow">
137+
<property name="margin-start">10</property>
138+
<property name="margin-end">10</property>
139+
<property name="margin-top">10</property>
140+
<property name="margin-bottom">10</property>
141+
<property name="activatable">0</property>
142+
<child>
143+
<object class="GtkBox">
144+
<property name="spacing">8</property>
145+
<child>
146+
<object class="GtkLabel">
147+
<property name="label" translatable="yes">Also Burn Dialogs</property>
148+
<property name="xalign">0</property>
149+
<property name="halign">start</property>
150+
<property name="valign">center</property>
151+
<property name="hexpand">1</property>
152+
</object>
153+
</child>
154+
<child>
155+
<object class="GtkSwitch" id="destroy-dialogs">
156+
<property name="halign">end</property>
157+
<property name="valign">center</property>
158+
</object>
159+
</child>
160+
<child>
161+
<object class="GtkButton" id="reset-destroy-dialogs">
162+
<child>
163+
<object class="GtkImage">
164+
<property name="icon-name">edit-clear-symbolic</property>
165+
<property name="icon-size">1</property>
166+
</object>
167+
</child>
168+
<property name="tooltip-text">Reset to Default Value</property>
169+
<style>
170+
<class name="flat" />
171+
</style>
172+
</object>
173+
</child>
174+
</object>
175+
</child>
184176
</object>
185177
</child>
178+
186179
</object>
187180
</child>
188-
189181
</object>
190-
191-
</property>
182+
</child>
192183
</object>
184+
<packing>
185+
<property name="name">general</property>
186+
<property name="title" translatable="yes">General Options</property>
187+
</packing>
188+
193189
</child>
194190

195191
<!-- Stack pages are inserted here -->

0 commit comments

Comments
 (0)