diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-08-09 12:54:25 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-08-09 12:54:25 +0200 |
commit | 6d93aba85b15b6479b7344333fb62ff77dd96f48 (patch) | |
tree | 49e7aa91173d302093da2fee6680a73c78eaa2b0 | |
parent | c0bb2944764b0d60b7c9e8ed3b133eb3e24a7261 (diff) | |
download | libayatana-indicator-6d93aba85b15b6479b7344333fb62ff77dd96f48.tar.gz libayatana-indicator-6d93aba85b15b6479b7344333fb62ff77dd96f48.tar.bz2 libayatana-indicator-6d93aba85b15b6479b7344333fb62ff77dd96f48.zip |
IndicatorDesktopShortcuts: use g_key_file_get_string for path
-rw-r--r-- | libindicator/indicator-desktop-shortcuts.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libindicator/indicator-desktop-shortcuts.c b/libindicator/indicator-desktop-shortcuts.c index 6148aec..ba7a35c 100644 --- a/libindicator/indicator-desktop-shortcuts.c +++ b/libindicator/indicator-desktop-shortcuts.c @@ -613,11 +613,8 @@ indicator_desktop_shortcuts_nick_exec_with_context (IndicatorDesktopShortcuts * } /* If possible move to the proper launch path */ - gchar * path = g_key_file_get_locale_string(priv->keyfile, - groupheader, - G_KEY_FILE_DESKTOP_KEY_PATH, - NULL, - NULL); + gchar * path = g_key_file_get_string(priv->keyfile, groupheader, + G_KEY_FILE_DESKTOP_KEY_PATH, NULL); if (path && *path != '\0' && chdir(path) < 0) { g_warning ("Impossible to run action '%s' from path '%s'", nick, path); |