evolution r36778 - branches/gnome-2-24/e-util
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36778 - branches/gnome-2-24/e-util
- Date: Wed, 12 Nov 2008 19:01:02 +0000 (UTC)
Author: mcrha
Date: Wed Nov 12 19:01:02 2008
New Revision: 36778
URL: http://svn.gnome.org/viewvc/evolution?rev=36778&view=rev
Log:
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.
Modified:
branches/gnome-2-24/e-util/ChangeLog
branches/gnome-2-24/e-util/e-util-labels.c
Modified: branches/gnome-2-24/e-util/e-util-labels.c
==============================================================================
--- branches/gnome-2-24/e-util/e-util-labels.c (original)
+++ branches/gnome-2-24/e-util/e-util-labels.c Wed Nov 12 19:01:02 2008
@@ -79,7 +79,7 @@
/* 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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]