diff options
author | Ricky Kresslein <ricky@kressle.in> | 2022-02-23 22:54:50 +0100 |
---|---|---|
committer | Ricky Kresslein <ricky@kressle.in> | 2022-02-23 22:54:50 +0100 |
commit | de4ea78d38007a2efda4cbd03d0207fa27decbf4 (patch) | |
tree | 77f642be49be3656276628b8fc885a5f5d169c86 /src/gtk | |
parent | 2a8e1c75863bc84c55eadcff1f3adb42d409d180 (diff) | |
download | Furtherance-de4ea78d38007a2efda4cbd03d0207fa27decbf4.tar.zst |
- Clearly states idle notify works in Gnome only
- Fixed bug idle preference only updated on start - Added dark theme switch
Diffstat (limited to 'src/gtk')
-rw-r--r-- | src/gtk/preferences_window.ui | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui index a9866cb..0ac2337 100644 --- a/src/gtk/preferences_window.ui +++ b/src/gtk/preferences_window.ui @@ -6,12 +6,31 @@ <property name="icon_name">emblem-system-symbolic</property> <property name="title" translatable="yes">General</property> <child> + <object class="AdwPreferencesGroup" id="appearance_group"> + <property name="title" translatable="yes">Appearance</property> + <property name="visible">True</property> + <child> + <object class="AdwActionRow"> + <property name="title" translatable="yes">_Dark Theme</property> + <property name="use_underline">True</property> + <property name="activatable_widget">dark_theme_switch</property> + <child> + <object class="GtkSwitch" id="dark_theme_switch"> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + </object> + </child> + <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="subtitle" translatable="yes">(Gnome only)</property> <property name="show_enable_switch">True</property> <property name="use_underline">True</property> <child> |