|
19 | 19 | ~ You should have received a copy of the GNU General Public License |
20 | 20 | ~ along with this program. If not, see <http://www.gnu.org/licenses/>. |
21 | 21 | --> |
22 | | -<interface> |
| 22 | +<interface domain="safeeyes"> |
23 | 23 | <requires lib="gtk" version="4.0"/> |
24 | 24 | <object class="GtkAdjustment" id="adjustment_duration"> |
25 | 25 | <property name="lower">1</property> |
|
47 | 47 | </row> |
48 | 48 | </data> |
49 | 49 | </object> |
50 | | - <object class="GtkWindow" id="dialog_settings_break"> |
| 50 | + <template parent="GtkWindow" class="BreakSettingsDialog"> |
51 | 51 | <property name="title" translatable="yes">Break Settings</property> |
52 | 52 | <property name="resizable">0</property> |
53 | 53 | <property name="modal">1</property> |
54 | 54 | <property name="default-width">500</property> |
55 | 55 | <property name="default-height">50</property> |
56 | 56 | <property name="destroy-with-parent">1</property> |
57 | 57 | <property name="icon-name">io.github.slgobinath.SafeEyes</property> |
| 58 | + <signal name="close-request" handler="on_window_delete" swapped="no" /> |
58 | 59 | <child> |
59 | 60 | <object class="GtkBox" id="box_settings"> |
60 | 61 | <property name="visible">1</property> |
|
134 | 135 | <property name="can-focus">1</property> |
135 | 136 | <property name="receives-default">1</property> |
136 | 137 | <property name="icon-name">gtk-missing-image</property> |
| 138 | + <signal name="clicked" handler="select_image" swapped="no"/> |
137 | 139 | </object> |
138 | 140 | </child> |
139 | 141 | </object> |
|
179 | 181 | <property name="can-focus">1</property> |
180 | 182 | <property name="halign">end</property> |
181 | 183 | <property name="valign">center</property> |
| 184 | + <signal name="state-set" handler="on_switch_override_interval_activate" swapped="no"/> |
182 | 185 | </object> |
183 | 186 | </child> |
184 | 187 | </object> |
|
250 | 253 | <property name="can-focus">1</property> |
251 | 254 | <property name="halign">end</property> |
252 | 255 | <property name="valign">center</property> |
| 256 | + <signal name="state-set" handler="on_switch_override_duration_activate" swapped="no"/> |
253 | 257 | </object> |
254 | 258 | </child> |
255 | 259 | </object> |
|
322 | 326 | <property name="can-focus">1</property> |
323 | 327 | <property name="halign">end</property> |
324 | 328 | <property name="valign">center</property> |
| 329 | + <signal name="state-set" handler="on_switch_override_plugins_activate" swapped="no"/> |
325 | 330 | </object> |
326 | 331 | </child> |
327 | 332 | </object> |
|
347 | 352 | </child> |
348 | 353 | </object> |
349 | 354 | </child> |
350 | | - </object> |
| 355 | + </template> |
351 | 356 | </interface> |
0 commit comments