diff options
Diffstat (limited to 'src/ui/preferences_window.rs')
-rw-r--r-- | src/ui/preferences_window.rs | 18 |
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] |