diff --git a/src/main.rs b/src/main.rs index 5e62ad3..8a05164 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,15 +47,18 @@ impl Widgets for ToolboxSettingsDialogWidg }, add = &adw::PreferencesPage { add = &adw::PreferencesGroup { - set_title: "Update", + set_title: "Updates", add = &adw::PreferencesRow { - set_title: "Updates", + set_title: "Update Policy", set_child = Some(&adw::ActionRow) { - set_title: "Update automatically", + set_title: "Update Policy", add_suffix = >k::Box { - append = >k::Switch { + append = >k::DropDown::from_strings(&[ + "Update automatically", + "Notify about updates", + "Do nothing" + ]) { set_margin_all: 15, - set_tooltip_text: Some("Update applications automatically"), }, } },