diff options
author | Ted Gould <ted@gould.cx> | 2010-04-16 23:20:36 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-16 23:20:36 -0500 |
commit | e5e8f387af4718ae58a575dc46649d0e03d01bd3 (patch) | |
tree | 9bb842e41b96ef08872230faa7f5d3275721b8ac /src | |
parent | a05571c978dba6f33773a664bbb1672038fbad93 (diff) | |
download | ayatana-indicator-messages-e5e8f387af4718ae58a575dc46649d0e03d01bd3.tar.gz ayatana-indicator-messages-e5e8f387af4718ae58a575dc46649d0e03d01bd3.tar.bz2 ayatana-indicator-messages-e5e8f387af4718ae58a575dc46649d0e03d01bd3.zip |
When adding a desktop file look through teh applications we have to check for eclipsing
Diffstat (limited to 'src')
-rw-r--r-- | src/messages-service.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 88da0e0..253a7c4 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -1358,6 +1358,14 @@ build_launcher_core (const gchar * desktop) dbusmenu_menuitem_property_set_bool(ll->separator, DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); } + /* Check to see if any of the current applications should + be eclipsing us. */ + GList * server; + for (server = serverList; server != NULL; server = g_list_next(server)) { + serverList_t * slt = (serverList_t *)server->data; + check_eclipses(slt->menuitem); + } + resort_menu(root_menuitem); check_hidden(); } else { |