diff options
-rw-r--r-- | lib/tray/trayItem.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tray/trayItem.vala b/lib/tray/trayItem.vala index 1a26d8a..dbfbea8 100644 --- a/lib/tray/trayItem.vala +++ b/lib/tray/trayItem.vala @@ -122,7 +122,11 @@ public class TrayItem : Object { * If set, this only supports the menu, so showing the menu should be prefered * over calling [[email protected]]. */ - public bool is_menu { get { return proxy.ItemIsMenu ;} } + public bool is_menu { + get { + return proxy.ItemIsMenu || proxy.get_cached_property("ItemIsMenu") == null; + } + } /** * The icon theme path, where to look for the [[email protected]:icon-name]. |