aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2009-10-08 15:38:04 -0400
committerKen VanDine <ken.vandine@canonical.com>2009-10-08 15:38:04 -0400
commit62da5967b5e4c8308f436a31a7af0388a1d9d225 (patch)
tree23206c79d63b9202138901d0f953cfac5590df89 /src/messages-service.c
parentdc5266b42298495c316ef5186c2cd01f27f55064 (diff)
parent80d2f2afcf2adca78e93986733be23359e504ce6 (diff)
downloadayatana-indicator-messages-62da5967b5e4c8308f436a31a7af0388a1d9d225.tar.gz
ayatana-indicator-messages-62da5967b5e4c8308f436a31a7af0388a1d9d225.tar.bz2
ayatana-indicator-messages-62da5967b5e4c8308f436a31a7af0388a1d9d225.zip
* Upstream release 0.2.6 (LP: #446629)
* Building the menu after checking the blacklist so that the separators are all correct. * Small fix for a perspective memory leak.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 754d7ee..f5681b7 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -1147,7 +1147,6 @@ build_launcher (gpointer data)
/* Add it to the menu */
dbusmenu_menuitem_child_append(root_menuitem, DBUSMENU_MENUITEM(ll->menuitem));
dbusmenu_menuitem_child_append(root_menuitem, DBUSMENU_MENUITEM(ll->separator));
- resort_menu(root_menuitem);
/* If we're in the black list or we've gotten eclipsed
by something else, hide the item and the separator. */
@@ -1157,6 +1156,7 @@ build_launcher (gpointer data)
dbusmenu_menuitem_property_set(ll->separator, DBUSMENU_MENUITEM_PROP_VISIBLE, "false");
}
+ resort_menu(root_menuitem);
check_hidden();
} else {
/* If so add ourselves */