Set up a configuration UI #66
|
@ -16,6 +16,17 @@ impl Default for LayoutPrivate {
|
||||||
.show_start_title_buttons(true)
|
.show_start_title_buttons(true)
|
||||||
.show_end_title_buttons(true)
|
.show_end_title_buttons(true)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
let app_menu = gio::Menu::new();
|
||||||
|
app_menu.append(Some("Configuration"), Some("show-config"));
|
||||||
|
|
||||||
|
let hamburger = gtk::MenuButton::builder()
|
||||||
|
.icon_name("open-menu-symbolic")
|
||||||
|
.build();
|
||||||
|
hamburger.set_menu_model(Some(&app_menu));
|
||||||
|
|
||||||
|
header.pack_end(&hamburger);
|
||||||
|
|
||||||
let content = adw::StatusPage::builder().title("Nothing here").build();
|
let content = adw::StatusPage::builder().title("Nothing here").build();
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
|
|
Loading…
Reference in New Issue