Enable multi-window feature of libcosmic
This commit is contained in:
parent
2832e6066e
commit
588211adb0
4 changed files with 4 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ rust-embed = "8"
|
|||
[dependencies.libcosmic]
|
||||
git = "https://github.com/pop-os/libcosmic.git"
|
||||
default-features = false
|
||||
features = ["tokio", "winit"]
|
||||
features = ["multi-window", "tokio", "winit"]
|
||||
#path = "../libcosmic"
|
||||
|
||||
#TODO: clean up and send changes upstream
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ impl App {
|
|||
None => (String::new(), "COSMIC File Manager".to_string()),
|
||||
};
|
||||
self.set_header_title(header_title);
|
||||
self.set_window_title(window_title)
|
||||
self.set_window_title(window_title, window::Id::MAIN)
|
||||
}
|
||||
|
||||
fn update_watcher(&mut self) -> Command<Message> {
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ impl App {
|
|||
None => (String::new(), "COSMIC File Manager".to_string()),
|
||||
};
|
||||
self.set_header_title(header_title);
|
||||
self.set_window_title(window_title)
|
||||
self.set_window_title(window_title, window::Id::MAIN)
|
||||
}
|
||||
|
||||
fn update_watcher(&mut self) -> Command<Message> {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ use app::{App, Flags};
|
|||
mod app;
|
||||
use config::{Config, CONFIG_VERSION};
|
||||
mod config;
|
||||
mod dialog;
|
||||
pub mod dialog;
|
||||
mod key_bind;
|
||||
mod localize;
|
||||
mod menu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue