diff options
author | Milan Crha <mcrha@redhat.com> | 2008-11-13 03:00:42 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-11-13 03:00:42 +0800 |
commit | 8ef97f1b13849dc22c24b76e17cbfb8d23d7aa70 (patch) | |
tree | 24ee5401f0f14240c66dc4d5d40acc1fe5cf138c /e-util/e-util-labels.c | |
parent | 7dde4c5626f23bcd6d5c47dae8b61df7c4b9a870 (diff) | |
download | gsoc2013-evolution-8ef97f1b13849dc22c24b76e17cbfb8d23d7aa70.tar.gz gsoc2013-evolution-8ef97f1b13849dc22c24b76e17cbfb8d23d7aa70.tar.zst gsoc2013-evolution-8ef97f1b13849dc22c24b76e17cbfb8d23d7aa70.zip |
** Fix for bug #559810
2008-11-12 Milan Crha <mcrha@redhat.com>
** Fix for bug #559810
* e-util-labels.c: (e_util_labels_parse):
Do not localize empty label names, also localize them only first time.
svn path=/trunk/; revision=36777
Diffstat (limited to 'e-util/e-util-labels.c')
-rw-r--r-- | e-util/e-util-labels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-util-labels.c b/e-util/e-util-labels.c index 359157a25f..da32f233c5 100644 --- a/e-util/e-util-labels.c +++ b/e-util/e-util-labels.c @@ -79,7 +79,7 @@ e_util_labels_parse (GConfClient *client) /* Needed for Backward Compatibility */ if (num < LABEL_DEFAULTS_NUM) { - label->name = g_strdup (_(buf)); + label->name = g_strdup ((buf && *buf) ? buf : _(label_defaults[num].name)); label->tag = g_strdup (label_defaults[num].tag); num++; } else if (!tag) { |