about summary refs log tree commit diff
path: root/src/ui/preferences_window.rs
diff options
context:
space:
mode:
authorGabriel Brand <gabr.brand@gmail.com>2024-02-12 20:17:48 +0100
committerGabriel Brand <gabr.brand@gmail.com>2024-02-12 20:17:48 +0100
commit366e9cee77c04d4a381f55d6ee8ce4c15e0d0c3b (patch)
treeac27ccd3118202a6b0bf9e1ee354e8bc6c07bb7b /src/ui/preferences_window.rs
parent7c065014f4b23c0eb50b3662bc5cb14f0a8df746 (diff)
downloadFurtherance-366e9cee77c04d4a381f55d6ee8ce4c15e0d0c3b.tar.zst
Update access keys
Diffstat (limited to 'src/ui/preferences_window.rs')
-rw-r--r--src/ui/preferences_window.rs18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/ui/preferences_window.rs b/src/ui/preferences_window.rs
index 7d8406b..90a28ff 100644
--- a/src/ui/preferences_window.rs
+++ b/src/ui/preferences_window.rs
@@ -33,20 +33,20 @@ mod imp {
     #[derive(Default, Debug, CompositeTemplate)]
     #[template(resource = "/com/lakoliu/Furtherance/gtk/preferences_window.ui")]
     pub struct FurPreferencesWindow {
+        // General Page
+        // Appearance Group
         #[template_child]
         pub appearance_group: TemplateChild<adw::PreferencesGroup>,
         #[template_child]
         pub dark_theme_switch: TemplateChild<adw::SwitchRow>,
 
-        #[template_child]
-        pub idle_group: TemplateChild<adw::PreferencesGroup>,
+        // Idle Group
         #[template_child]
         pub notify_of_idle_expander: TemplateChild<adw::ExpanderRow>,
         #[template_child]
         pub notify_of_idle_spin: TemplateChild<adw::SpinRow>,
 
-        #[template_child]
-        pub timer_group: TemplateChild<adw::PreferencesGroup>,
+        // Timer Group
         #[template_child]
         pub pomodoro_expander: TemplateChild<adw::ExpanderRow>,
         #[template_child]
@@ -58,8 +58,8 @@ mod imp {
         #[template_child]
         pub inclusive_total_switch: TemplateChild<adw::SwitchRow>,
 
-        #[template_child]
-        pub task_list_group: TemplateChild<adw::PreferencesGroup>,
+        // Tasks Page
+        // Task List Group
         #[template_child]
         pub delete_confirmation_switch: TemplateChild<adw::SwitchRow>,
         #[template_child]
@@ -73,14 +73,16 @@ mod imp {
         #[template_child]
         pub show_tags_switch: TemplateChild<adw::SwitchRow>,
 
-        #[template_child]
-        pub task_input_group: TemplateChild<adw::PreferencesGroup>,
+        // Task Input Group
         #[template_child]
         pub autocomplete_switch: TemplateChild<adw::SwitchRow>,
 
+        // Data Page
+        // Reports Group
         #[template_child]
         pub week_start_combo: TemplateChild<adw::ComboRow>,
 
+        // Database Group
         #[template_child]
         pub database_loc_row: TemplateChild<adw::ActionRow>,
         #[template_child]