diff options
author | Ricky Kresslein <ricky@kressle.in> | 2022-02-20 12:59:46 +0100 |
---|---|---|
committer | Ricky Kresslein <ricky@kressle.in> | 2022-02-20 12:59:46 +0100 |
commit | 379561117862952d567bfdbf0700b5c7f470a1a8 (patch) | |
tree | e8ff9e5081109c87426eb35c5ade0407e4908419 /src/gtk/preferences_window.ui | |
parent | 1f46e93625cff30eaf63258fcabe4ddc0c243136 (diff) | |
download | Furtherance-379561117862952d567bfdbf0700b5c7f470a1a8.tar.zst |
- Added Preferences
- Added idle notify to preferences - Bug fix: if user deleted first task none would show
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> |