reach out directly to pop shell gbus for window list
This commit is contained in:
parent
6be5b84b24
commit
c2dd25a09d
6 changed files with 58 additions and 34 deletions
|
|
@ -1,16 +1,12 @@
|
|||
use crate::BoxedSearchResults;
|
||||
use crate::utils::BoxedWindowList;
|
||||
use gdk4::ContentProvider;
|
||||
use gdk4::Display;
|
||||
use gio::DesktopAppInfo;
|
||||
use gio::Icon;
|
||||
use gio::ListStore;
|
||||
use gtk4 as gtk;
|
||||
use gtk4::Align;
|
||||
use gtk4::Box;
|
||||
use gtk4::DragSource;
|
||||
use gtk4::IconTheme;
|
||||
use gtk4::Label;
|
||||
use gtk4::Orientation;
|
||||
mod imp;
|
||||
|
||||
use gtk::glib;
|
||||
|
|
@ -123,7 +119,7 @@ impl DockItem {
|
|||
println!("initializing dock item failed...");
|
||||
}
|
||||
if let Ok(active_value) = app_info.property("active") {
|
||||
if let Ok(active) = active_value.get::<BoxedSearchResults>() {
|
||||
if let Ok(active) = active_value.get::<BoxedWindowList>() {
|
||||
self_.dots.set_text("");
|
||||
for _ in active.0 {
|
||||
self_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue