summaryrefslogtreecommitdiff
path: root/lib/tray
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2025-02-17 11:19:08 +0100
committerkotontrion <[email protected]>2025-02-17 11:19:08 +0100
commitcbfe69a9c22f3b0e59c6e09fffbe0b7af4f543d1 (patch)
tree4a39fee45789b329bf043cbefcdf1ca73a530be5 /lib/tray
parent32084b0e06e21a510d080e3e699416153b215026 (diff)
tray: fix last commit
Diffstat (limited to 'lib/tray')
-rw-r--r--lib/tray/trayItem.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tray/trayItem.vala b/lib/tray/trayItem.vala
index cd13f8b..1a26d8a 100644
--- a/lib/tray/trayItem.vala
+++ b/lib/tray/trayItem.vala
@@ -218,7 +218,7 @@ public class TrayItem : Object {
});
Variant? menuVariant = proxy.get_cached_property("Menu");
- if (proxy.Menu != null && menuVariant != null && menuVariant.is_of_type(VariantType.SIGNATURE)) {
+ if (proxy.Menu != null && menuVariant != null && menuVariant.is_of_type(VariantType.OBJECT_PATH)) {
this.menu_importer = new DBusMenu.Importer(proxy.get_name_owner(), proxy.Menu);
this.menu_importer.notify["model"].connect(() => {
notify_property("menu-model");