~ubuntu-branches/ubuntu/gutsy/gnumeric/gutsy-201105201701

« back to all changes in this revision

Viewing changes to src/gnumeric-gconf.c

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2007-03-08 16:16:45 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070308161645-uotkhmwywh7dkur4
Tags: 1.7.8-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include "mstyle.h"
35
35
#include <goffice/utils/go-glib-extras.h>
36
36
#include <goffice/utils/go-format.h>
 
37
#include <goffice/utils/go-locale.h>
37
38
#include <value.h>
38
39
#include <number-match.h>
39
40
 
362
363
                value_string = g_strdup_printf ("%f", go_conf_get_double (node, key));
363
364
                break;
364
365
        case G_TYPE_BOOLEAN:
365
 
                value_string = g_strdup (go_format_boolean (go_conf_get_bool (node, key)));
 
366
                value_string = g_strdup (go_locale_boolean_name (go_conf_get_bool (node, key)));
366
367
                break;
367
368
        default:
368
369
                value_string = g_strdup ("ERROR FIXME");
994
995
                value_string = go_conf_get_string (node, key);
995
996
                break;
996
997
        case G_TYPE_BOOLEAN:
997
 
                value_string = g_strdup (go_format_boolean (go_conf_get_bool (node, key)));
 
998
                value_string = g_strdup (go_locale_boolean_name (go_conf_get_bool (node, key)));
998
999
                break;
999
1000
        default:
1000
1001
                value_string = g_strdup ("ERROR FIXME");