diff --git a/src/modules/tray/interface.rs b/src/modules/tray/interface.rs index 9eed83a8..207cd10e 100644 --- a/src/modules/tray/interface.rs +++ b/src/modules/tray/interface.rs @@ -1,4 +1,4 @@ -use glib::Propagation; +use glib::{Propagation, SignalHandlerId}; use gtk::gdk::Gravity; use gtk::prelude::*; use gtk::{EventBox, Image, Label, MenuItem}; @@ -7,6 +7,7 @@ use system_tray::item::{IconPixmap, StatusNotifierItem, Tooltip}; /// Main tray icon to show on the bar pub(crate) struct TrayMenu { pub event_box: EventBox, + button_handler: Option, widget: MenuItem, image_widget: Option, label_widget: Option