We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6e636e commit fac607aCopy full SHA for fac607a
src/application/mod.rs
@@ -126,11 +126,19 @@ impl ApplicationImpl for ConfiguratorAppInner {
126
eprintln!("Focusing current window");
127
window.present();
128
} else {
129
+ let header_bar = cascade! {
130
+ gtk::HeaderBar::new();
131
+ ..set_title(Some("System76 Keyboard Configurator"));
132
+ ..set_show_close_button(true);
133
+ };
134
+
135
136
let window = cascade! {
137
gtk::ApplicationWindow::new(app);
- ..set_title("Keyboard Layout");
138
+ ..set_title("System76 Keyboard Configurator");
139
..set_position(gtk::WindowPosition::Center);
140
..set_default_size(1024, 768);
141
+ ..set_titlebar(Some(&header_bar));
142
..add(&self.scrolled_window);
143
};
144
0 commit comments