prototype DnD that works with plank dock

This commit is contained in:
Ashley Wulber 2021-12-07 17:14:54 -05:00
parent f45f2b1826
commit 14b8112bd7
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();
}