prototype DnD that works with plank dock

This commit is contained in:
Ashley Wulber 2021-12-07 17:14:54 -05:00 committed by Jeremy Soller
parent 7e6f6d22f8
commit 8725329651
4 changed files with 40 additions and 19 deletions

View file

@ -13,12 +13,15 @@ use window::Window;
fn main() {
let app = gtk::Application::new(Some("com.cosmic.app_library"), Default::default());
app.connect_startup(|_app| load_css());
app.connect_activate(|app| {
build_ui(app);
app.connect_startup(|app| {
load_css();
build_ui(&app);
});
// app.connect_activate(|app| {
// build_ui(app);
// });
app.run();
}