aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-09 13:40:46 -0500
committerTed Gould <ted@canonical.com>2009-09-09 13:40:46 -0500
commitf47cd3eaae4f33de08ba1a8d5f5ff15cf89f65fd (patch)
tree0ece36fcca288d4bcc49e09dbd24cecb423a1321 /src
parent14e60e91042be1373bffd83040d411ef40664b1d (diff)
downloadayatana-indicator-messages-f47cd3eaae4f33de08ba1a8d5f5ff15cf89f65fd.tar.gz
ayatana-indicator-messages-f47cd3eaae4f33de08ba1a8d5f5ff15cf89f65fd.tar.bz2
ayatana-indicator-messages-f47cd3eaae4f33de08ba1a8d5f5ff15cf89f65fd.zip
Check eclipse to see if we should make indicators visible or not.
Diffstat (limited to 'src')
-rw-r--r--src/messages-service.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 3f0173a..b611357 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -707,7 +707,10 @@ resort_menu (DbusmenuMenuitem * menushell)
/* Putting the launcher separator in */
g_debug("\tMoving launcher separator to position %d", position);
dbusmenu_menuitem_child_reorder(DBUSMENU_MENUITEM(menushell), DBUSMENU_MENUITEM(li->separator), position);
- dbusmenu_menuitem_property_set(li->separator, DBUSMENU_MENUITEM_PROP_VISIBLE, "true");
+ if (!launcher_menu_item_get_eclipsed(li->menuitem)) {
+ /* Only clear the visiblity if we're not eclipsed */
+ dbusmenu_menuitem_property_set(li->separator, DBUSMENU_MENUITEM_PROP_VISIBLE, "true");
+ }
position++;
launcherentry = launcherentry->next;