diff options
Diffstat (limited to 'src/ui/preferences_window.rs')
-rw-r--r-- | src/ui/preferences_window.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/preferences_window.rs b/src/ui/preferences_window.rs index bd135de..301250b 100644 --- a/src/ui/preferences_window.rs +++ b/src/ui/preferences_window.rs @@ -76,6 +76,9 @@ mod imp { pub inclusive_total_switch: TemplateChild<gtk::Switch>, #[template_child] + pub week_start_combo: TemplateChild<adw::ComboRow>, + + #[template_child] pub database_loc_row: TemplateChild<adw::ActionRow>, #[template_child] pub database_browse_btn: TemplateChild<gtk::Button>, @@ -186,6 +189,8 @@ impl FurPreferencesWindow { settings_manager::bind_property("inclusive-total", &*imp.inclusive_total_switch, "active"); + settings_manager::bind_property("week-starts", &*imp.week_start_combo, "selected"); + imp.dark_theme_switch.connect_active_notify(move |_| { let app = FurtheranceApplication::default(); app.update_light_dark(); |