[libegg] smclient: Use localized .desktop application name
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libegg] smclient: Use localized .desktop application name
- Date: Mon, 4 Apr 2011 09:58:20 +0000 (UTC)
commit e7433931d414bf523d800dead8e7df2fe4bd7644
Author: David King <davidk openismus com>
Date: Mon Apr 4 11:52:54 2011 +0200
smclient: Use localized .desktop application name
Fixes bug 631615.
libegg/smclient/eggdesktopfile.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libegg/smclient/eggdesktopfile.c b/libegg/smclient/eggdesktopfile.c
index 9b12af5..7d14ac2 100644
--- a/libegg/smclient/eggdesktopfile.c
+++ b/libegg/smclient/eggdesktopfile.c
@@ -201,8 +201,11 @@ egg_desktop_file_new_from_key_file (GKeyFile *key_file,
else
desktop_file->source = g_strdup (source);
- desktop_file->name = g_key_file_get_string (key_file, EGG_DESKTOP_FILE_GROUP,
- EGG_DESKTOP_FILE_KEY_NAME, error);
+ desktop_file->name = g_key_file_get_locale_string (key_file,
+ EGG_DESKTOP_FILE_GROUP,
+ EGG_DESKTOP_FILE_KEY_NAME,
+ NULL,
+ error);
if (!desktop_file->name)
{
egg_desktop_file_free (desktop_file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]