diff options
Diffstat (limited to 'src/gtk/preferences_window.ui')
-rw-r--r-- | src/gtk/preferences_window.ui | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui new file mode 100644 index 0000000..a9866cb --- /dev/null +++ b/src/gtk/preferences_window.ui @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="FurPreferencesWindow" parent="AdwPreferencesWindow"> + <child> + <object class="AdwPreferencesPage"> + <property name="icon_name">emblem-system-symbolic</property> + <property name="title" translatable="yes">General</property> + <child> + <object class="AdwPreferencesGroup" id="idle_group"> + <property name="title" translatable="yes">Idle</property> + <property name="visible">True</property> + <child> + <object class="AdwExpanderRow" id="notify_of_idle_expander"> + <property name="title" translatable="yes">Notify of Idle</property> + <property name="show_enable_switch">True</property> + <property name="use_underline">True</property> + <child> + <object class="AdwActionRow"> + <property name="title" translatable="yes">_Minutes to Idle</property> + <property name="subtitle" translatable="yes">Number of miniutes before the user is considered idle</property> + <property name="use_underline">True</property> + <child> + <object class="GtkSpinButton" id="notify_of_idle_spin"> + <property name="valign">center</property> + <property name="adjustment"> + <object class="GtkAdjustment"> + <property name="upper">60</property> + <property name="lower">1</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + </property> + <property name="numeric">True</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |