mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
Fixed title in headerbar
This commit is contained in:
@@ -21,10 +21,9 @@ impl App {
|
||||
|
||||
let header = Header::new();
|
||||
|
||||
window.set_titlebar(Some(&header.container));
|
||||
|
||||
window.set_title("LACT");
|
||||
// window.set_wmclass("lact", "LACT");
|
||||
|
||||
window.set_titlebar(Some(&header.container));
|
||||
|
||||
window.set_default_size(500, 600);
|
||||
|
||||
|
||||
@@ -14,9 +14,6 @@ impl Header {
|
||||
pub fn new() -> Self {
|
||||
let container = HeaderBar::new();
|
||||
|
||||
//Doesn't work for some reason
|
||||
container.set_title(None);
|
||||
|
||||
if env::var("XDG_CURRENT_DESKTOP") == Ok("GNOME".to_string()) {
|
||||
container.set_show_close_button(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user