diff options
author | Ted Gould <ted@canonical.com> | 2009-08-20 15:05:38 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-20 15:05:38 -0500 |
commit | 333467a2e1736c372108c954a191e6206cb18849 (patch) | |
tree | 2519670bd8ad45d735ea65bca51bee872046a73c /src/messages-service.c | |
parent | cc75cbe10d562c29657f61deda56115362df6179 (diff) | |
download | ayatana-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.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 4 |
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; } |