aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-20 16:00:12 -0500
committerTed Gould <ted@canonical.com>2009-08-20 16:00:12 -0500
commitf41d2527cb53f8a5ca091e860b6fd5f25f6ce87a (patch)
treee92d383088408c5f6dc671edf34cf8d65867dd8b /src/messages-service.c
parente5d4b846037b0397022f12b5355d6889e5b9adec (diff)
downloadayatana-indicator-messages-f41d2527cb53f8a5ca091e860b6fd5f25f6ce87a.tar.gz
ayatana-indicator-messages-f41d2527cb53f8a5ca091e860b6fd5f25f6ce87a.tar.bz2
ayatana-indicator-messages-f41d2527cb53f8a5ca091e860b6fd5f25f6ce87a.zip
Some debug and fixing checking the desktop file. All good.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index f2768cb..a4e8870 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -266,9 +266,11 @@ blacklist_remove (const gchar * definition_file)
static gboolean
blacklist_check (const gchar * desktop_file)
{
+ g_debug("Checking blacklist for: %s", desktop_file);
if (blacklist == NULL) return FALSE;
if (g_hash_table_lookup(blacklist, desktop_file)) {
+ g_debug("\tFound!");
return TRUE;
}
@@ -740,7 +742,7 @@ build_launcher (gpointer data)
dbusmenu_menuitem_child_append(root_menuitem, DBUSMENU_MENUITEM(ll->menuitem));
resort_menu(root_menuitem);
- if (blacklist_check(trimdesktop)) {
+ if (blacklist_check(launcher_menu_item_get_desktop(ll->menuitem))) {
launcher_menu_item_set_eclipsed(ll->menuitem, TRUE);
}