aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-03-19 01:51:30 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-03-19 01:51:30 +0800
commitfce544011db8bc184f2dce759693649086ea5620 (patch)
tree081afad6646c841e65aaf78145da47409cef3282 /mail
parentf74f3eb5c28b82fafe8a12e5d8b62d10c04c349f (diff)
downloadgsoc2013-evolution-fce544011db8bc184f2dce759693649086ea5620.tar.gz
gsoc2013-evolution-fce544011db8bc184f2dce759693649086ea5620.tar.zst
gsoc2013-evolution-fce544011db8bc184f2dce759693649086ea5620.zip
** Fix for bug #519154
2008-03-18 Milan Crha <mcrha@redhat.com> ** Fix for bug #519154 * mail-component.c: (view_changed): Do not localize folder name used in window title. svn path=/trunk/; revision=35213
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-component.c8
2 files changed, 12 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 07e0072759..10c433ab90 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2008-03-18 Milan Crha <mcrha@redhat.com>
+ ** Fix for bug #519154
+
+ * mail-component.c: (view_changed):
+ Do not localize folder name used in window title.
+
+2008-03-18 Milan Crha <mcrha@redhat.com>
+
** Fix for bug #506359
* mail-component.c: (mail_component_show_logger):
diff --git a/mail/mail-component.c b/mail/mail-component.c
index b5b1ca0e84..5a35245dea 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -517,6 +517,7 @@ view_changed(EMFolderView *emfv, EComponentView *component_view)
if (emfv->folder) {
char *name, *title;
+ const char *use_name; /* will contain localized name, if necessary */
guint32 visible, unread, deleted, junked;
GPtrArray *selected;
GString *tmp = g_string_new("");
@@ -562,11 +563,12 @@ view_changed(EMFolderView *emfv, EComponentView *component_view)
if (emfv->folder->parent_store == mail_component_peek_local_store(NULL)
&& (!strcmp (name, "Drafts") || !strcmp (name, "Inbox")
|| !strcmp (name, "Outbox") || !strcmp (name, "Sent")))
- e_info_label_set_info(el, _(name), tmp->str);
+ use_name = _(name);
else
- e_info_label_set_info(el, name, tmp->str);
+ use_name = name;
- title = g_strdup_printf("%s (%s)", _(name), tmp->str);
+ e_info_label_set_info (el, use_name, tmp->str);
+ title = g_strdup_printf ("%s (%s)", use_name, tmp->str);
e_component_view_set_title(component_view, title);
g_free(title);
01d06fbaccb68a4adf566522423a1d8dff87e'>Unbreak using the postgresql73 distfile.olgeni2004-01-131-11/+10 * [1] Use new depends scheme for postgresql slave ports:osa2003-09-042-7/+16 * Remove pkg-comment from the remaining special cases.ade2003-03-072-1/+1 * - Remove distinfo; it's now longer required since this is now a slave port.wjv2003-02-131-1/+0 * Uncomment dependency on libpq.3/postgresql.seanc2003-02-111-1/+1 * Update py-PyGreSQL to version 7.3edwin2003-02-062-10/+8 * Chase libpq version bump.seanc2003-01-041-1/+3 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2 * - Make this port a subport of databases/postgresql7, since the development ofwjv2002-10-239-77/+74 * Drop MAINTAINER: I'm not really taking care of these anymore.nectar2002-06-221-1/+1 * Fix build with postgresql 7.2 (some .h files have moved).olgeni2002-02-231-1/+1 * Fix a malformed patch.nectar2001-12-011-2/+1 * The patch for using mx.DateTime instead of DateTime was incomplete.nectar2001-12-012-3/+20 * Fix import of DateTime module.nectar2001-10-162-0/+13 * PostGreSQL 7.1 can install in two places, either ${PREFIX} (hier(7)) ornectar2001-04-251-2/+2 * Fix include directory for postgresql7.1's new layout.vanilla2001-04-213-25/+25 * Depend on the new py-mx-base.tg2001-03-221-3/+3 * Update 2.4 -> 3.0nectar2000-10-034-26/+31 * Don't break package building on Satoshi's cluster. Explicitly dependtg2000-09-081-2/+2 * after removal of old postgresql port fix dependencies for postgresql7 portandreas2000-08-261-1/+1 * Locally hosted distfiles moved to ftp.freebsd.org.nectar2000-06-201-2/+1 * update with the new PORTNAME/PORTVERSION variablesmharo2000-04-091-3/+3 * Resolve many 301 Moved Permanently URLs in DESCR.fenner1999-09-181-1/+1 * FreeBSD.ORG -> FreeBSD.orgmharo1999-08-311-2/+2 * Change Id->FreeBSD.obrien1999-08-251-1/+1 * chmod -> ${CHMOD}mharo1999-08-231-4/+1 * Fix checksum problem.obrien1999-07-151-1/+1 * As threatened, enforce the "Capital, no period" rule. Ellipses arehoek1999-06-271-1/+1 * Update 2.3 -> 2.4nectar1999-05-292-6/+7 * Move WWW_SITE to pkg/DESCR:WWW from Makefilescrappy1999-04-142-2/+3 * Proper URLs that reference directories end in '/'billf1999-04-091-2/+2 * portlint: WWW_SITE shouldn't come before *_DEPENDS lines.nectar1999-03-131-3/+2 * Add a few more Y2K/WWW_SITE pointers ...scrappy1999-03-121-1/+3 * Update from 2.1 to 2.3.nectar1999-02-234-21/+21 * Update of postgresql bumped libpq version number from .1 -> .2nectar1998-11-241-2/+2 * Blew last commit. This fixes it.nectar1998-11-141-45/+5