aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-20 15:05:38 -0500
committerTed Gould <ted@canonical.com>2009-08-20 15:05:38 -0500
commit333467a2e1736c372108c954a191e6206cb18849 (patch)
tree2519670bd8ad45d735ea65bca51bee872046a73c
parentcc75cbe10d562c29657f61deda56115362df6179 (diff)
downloadayatana-indicator-messages-333467a2e1736c372108c954a191e6206cb18849.tar.gz
ayatana-indicator-messages-333467a2e1736c372108c954a191e6206cb18849.tar.bz2
ayatana-indicator-messages-333467a2e1736c372108c954a191e6206cb18849.zip
Writing the fairly extensive and complex check function. But, if that's the way it needs to be, I guess it needs to be that way.
-rw-r--r--src/messages-service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 61a4b1a..e238b78 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -237,6 +237,10 @@ blacklist_check (const gchar * desktop_file)
{
if (blacklist == NULL) return FALSE;
+ if (g_hash_table_lookup(blacklist, desktop_file)) {
+ return TRUE;
+ }
+
return FALSE;
}