This commit is contained in:
Ashley Wulber 2021-11-29 14:58:48 -05:00 committed by Jeremy Soller
parent c0749e41d9
commit 19f003f942
2 changed files with 2 additions and 9 deletions

View file

@ -1,12 +1,9 @@
mod application_row;
mod window; mod window;
use gtk4 as gtk;
mod application_row;
use application_row::ApplicationRow;
use gtk::gdk::Display; use gtk::gdk::Display;
use gtk::prelude::*; use gtk::prelude::*;
use gtk::{gio, glib}; use gtk4 as gtk;
use libcosmic::x;
use window::Window; use window::Window;

View file

@ -210,7 +210,6 @@ impl Window {
if !win.is_active() { if !win.is_active() {
win.close(); win.close();
} }
println!("active or not lets find out...");
}); });
} }
@ -228,9 +227,6 @@ impl Window {
.unwrap() .unwrap()
.downcast::<gio::AppInfo>() .downcast::<gio::AppInfo>()
.unwrap(); .unwrap();
println!("position: {}", &list_item.position());
println!("{}", app_info.name());
// println!("{}", app_info.description());
let child = list_item let child = list_item
.child() .child()