From cbfe69a9c22f3b0e59c6e09fffbe0b7af4f543d1 Mon Sep 17 00:00:00 2001 From: kotontrion Date: Mon, 17 Feb 2025 11:19:08 +0100 Subject: tray: fix last commit --- lib/tray/trayItem.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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"); -- cgit v1.2.3