[monkey-bubble: 423/753] #ifdef FIXME all gnome_config_calls. The big FIXME is to decide whether we
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 423/753] #ifdef FIXME all gnome_config_calls. The big FIXME is to decide whether we
- Date: Wed, 14 Jul 2010 22:31:13 +0000 (UTC)
commit 8e3e2a8427315bb1716fc6d39caafba6377f140c
Author: Martin Baulig <baulig suse de>
Date: Sun Jun 10 19:53:54 2001 +0000
#ifdef FIXME all gnome_config_calls. The big FIXME is to decide whether we
2001-06-10 Martin Baulig <baulig suse de>
* gnome-i18n.c: #ifdef FIXME all gnome_config_calls. The big FIXME is to decide whether
we still want/need this at all.
libgnome/ChangeLog | 3 +++
libgnome/gnome-i18n.c | 8 ++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index 44463c7..ca74b32 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,5 +1,8 @@
2001-06-10 Martin Baulig <baulig suse de>
+ * gnome-i18n.c: #ifdef FIXME all gnome_config_calls. The big FIXME is to decide whether
+ we still want/need this at all.
+
* gnome-exec.c (gnome_prepend_terminal_to_vector): Use bonobo-config, not gnome-config.
2001-06-10 Cody Russell <bratsche gnome org>
diff --git a/libgnome/gnome-i18n.c b/libgnome/gnome-i18n.c
index ffef89d..758fd6c 100644
--- a/libgnome/gnome-i18n.c
+++ b/libgnome/gnome-i18n.c
@@ -83,7 +83,9 @@ gnome_i18n_get_language_list (const gchar *category_name)
void
gnome_i18n_set_preferred_language (const char *val)
{
+#ifdef FIXME
gnome_config_set_string (LANGKEY, val);
+#endif
}
/**
@@ -108,7 +110,9 @@ gnome_i18n_init (void)
according to what is in the config database. We do this so
that the user can override the config db using the
environment. */
+#ifdef FIXME
val = gnome_config_get_string (LANGKEY);
+#endif
if (val != NULL)
{
#ifdef HAVE_SETENV
@@ -131,7 +135,11 @@ gnome_i18n_init (void)
char *
gnome_i18n_get_preferred_language (void)
{
+#ifdef FIXME
return gnome_config_get_string (LANGKEY);
+#else
+ return NULL;
+#endif
}
static GList *numeric_locale_stack = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]