aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-04 16:46:48 -0500
committerTed Gould <ted@canonical.com>2009-09-04 16:46:48 -0500
commit486c49f150ed875ee1f39a002d6fe95efc7b208f (patch)
tree31109c0b7080940c315aba56a597ba92d2458734
parent44fddda84b6084f940e740ab3620c3d0e4860c52 (diff)
downloadayatana-indicator-messages-486c49f150ed875ee1f39a002d6fe95efc7b208f.tar.gz
ayatana-indicator-messages-486c49f150ed875ee1f39a002d6fe95efc7b208f.tar.bz2
ayatana-indicator-messages-486c49f150ed875ee1f39a002d6fe95efc7b208f.zip
Setting the property on the dbusmenu menuitem as well
-rw-r--r--src/im-menu-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index 52cf80c..7f82dba 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -478,6 +478,7 @@ im_menu_item_show (ImMenuItem * menuitem, gboolean show)
again if we're being shown, otherwise no. */
g_signal_emit(G_OBJECT(menuitem), signals[ATTENTION_CHANGED], 0, priv->show, TRUE);
}
+ dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(menuitem), DBUSMENU_MENUITEM_PROP_VISIBLE, priv->show ? "true" : "false");
return;
}