diff options
author | Ted Gould <ted@gould.cx> | 2010-05-21 14:56:08 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-05-21 14:56:08 -0500 |
commit | b1d057576e1e2333e439464b677ad313098cdbe8 (patch) | |
tree | 7a7fa57a617b6d9d1186ffed563b63c8fe651126 /src/messages-service.c | |
parent | 7ce065173902614db9f321c9dbed07b00221425d (diff) | |
parent | f82369294936721243c03f401bb992cd657adfc9 (diff) | |
download | ayatana-indicator-messages-b1d057576e1e2333e439464b677ad313098cdbe8.tar.gz ayatana-indicator-messages-b1d057576e1e2333e439464b677ad313098cdbe8.tar.bz2 ayatana-indicator-messages-b1d057576e1e2333e439464b677ad313098cdbe8.zip |
* New upstream release.
* When loading desktop files check to see if they've
already been eclipsed by an app. (LP: #549096)
* Track better application shortcuts and ensure that they
get removed when the application is. (LP: #539167)
* Track blacklisted apps to ensure that the messaging menu
hides when there is no app. (LP: #533021)
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 54b4055..0783d91 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -315,7 +315,7 @@ desktop_file_from_keyfile (const gchar * definition_file) } /* Add a definition file into the black list and eclipse - and launchers that have the same file. */ + any launchers that have the same file. */ static gboolean blacklist_add (gpointer udata) { @@ -359,7 +359,7 @@ blacklist_add_core (gchar * desktop, gchar * definition) } /* Actually blacklist this thing */ - g_hash_table_insert(blacklist, desktop, definition); + g_hash_table_insert(blacklist, g_strdup(desktop), g_strdup(definition)); g_debug("Adding Blacklist item '%s' for desktop '%s'", definition, desktop); /* Go through and eclipse folks */ |