aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-16 15:28:29 -0600
committerTed Gould <ted@gould.cx>2010-02-16 15:28:29 -0600
commit0a90515d6fbbaed9485f00db544ce1b4b23a8f7e (patch)
tree618f8ea48c88c8dc2a43afc7f6bdeec0a568477d
parent755e697c2ba60010ea0fde875047a98c4f759513 (diff)
downloadlibayatana-indicator-0a90515d6fbbaed9485f00db544ce1b4b23a8f7e.tar.gz
libayatana-indicator-0a90515d6fbbaed9485f00db544ce1b4b23a8f7e.tar.bz2
libayatana-indicator-0a90515d6fbbaed9485f00db544ce1b4b23a8f7e.zip
Fix group detection to put a space in the name of the group
-rw-r--r--libindicator/indicator-desktop-shortcuts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-desktop-shortcuts.c b/libindicator/indicator-desktop-shortcuts.c
index da54536..b6d5b1c 100644
--- a/libindicator/indicator-desktop-shortcuts.c
+++ b/libindicator/indicator-desktop-shortcuts.c
@@ -235,7 +235,7 @@ parse_keyfile (IndicatorDesktopShortcuts * ids)
/* If there is an error from get_string_list num_nicks should still
be zero, so this loop will drop out. */
for (i = 0; i < num_nicks; i++) {
- gchar * groupname = g_strdup_printf("%s" GROUP_SUFFIX, nicks[i]);
+ gchar * groupname = g_strdup_printf("%s " GROUP_SUFFIX, nicks[i]);
if (!g_key_file_has_group(priv->keyfile, groupname)) {
g_warning("Unable to find group '%s'", groupname);
g_free(groupname);