[Xfce4-commits] <parole:master> Use g_key_file_get_locale_string to load plugin name and description
Ali Abdallah
noreply at xfce.org
Thu Dec 3 12:40:02 CET 2009
Updating branch refs/heads/master
to c5df4f90f42236fbc90f330cd0946dcbd37c4e4d (commit)
from 3c21fe84290fe3719e691b348822b244f726942d (commit)
commit c5df4f90f42236fbc90f330cd0946dcbd37c4e4d
Author: Ali Abdallah <aliov at xfce.org>
Date: Thu Dec 3 12:01:24 2009 +0100
Use g_key_file_get_locale_string to load plugin name and description
src/parole-plugins-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/parole-plugins-manager.c b/src/parole-plugins-manager.c
index d586eae..9c9a638 100644
--- a/src/parole-plugins-manager.c
+++ b/src/parole-plugins-manager.c
@@ -367,13 +367,13 @@ parole_plugins_manager_get_plugin_info (const gchar *desktop_file)
goto out;
}
- info->name = g_key_file_get_string (file, "Parole Plugin", "Name", NULL);
+ info->name = g_key_file_get_locale_string (file, "Parole Plugin", "Name", NULL, NULL);
if ( !info->name )
info->name = g_strdup (_("Unknown"));
- info->desc = g_key_file_get_string (file, "Parole Plugin", "Description", NULL);
+ info->desc = g_key_file_get_locale_string (file, "Parole Plugin", "Description", NULL, NULL);
if ( !info->desc )
info->desc = g_strdup ("");
More information about the Xfce4-commits
mailing list