Re: [evolution-patches] Add correct icons to i18n'ized tree view Trash/Junk labels
- From: Christian Neumair <chris gnome-de org>
- To: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] Add correct icons to i18n'ized tree view Trash/Junk labels
- Date: Wed, 11 Feb 2004 20:19:49 +0100
On Wed, 2004-02-11 at 20:07 +0100, Christian Neumair wrote:
> Currently, no icons are added to the i18n'ized tree view Trash/Junk
> labels because the questionable strcmp call compares the C string
> against the locale string.
> After applying this patch, the labels are added correctly.
Sorry, attached empty file.
regs,
Chris
Index: mail/em-folder-tree.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-tree.c,v
retrieving revision 1.63
diff -u -r1.63 em-folder-tree.c
--- mail/em-folder-tree.c 9 Feb 2004 13:12:39 -0000 1.63
+++ mail/em-folder-tree.c 11 Feb 2004 19:18:48 -0000
@@ -250,9 +250,9 @@
pixbuf = folder_icons[FOLDER_ICON_INBOX];
else if (!strcasecmp (path, "/Outbox"))
pixbuf = folder_icons[FOLDER_ICON_OUTBOX];
- else if (*path == '/' && !strcasecmp (path + 1, CAMEL_VTRASH_NAME))
+ else if (*path == '/' && !strcasecmp (path + 1, _("Trash")))
pixbuf = folder_icons[FOLDER_ICON_TRASH];
- else if (*path == '/' && !strcasecmp (path + 1, CAMEL_VJUNK_NAME))
+ else if (*path == '/' && !strcasecmp (path + 1, _("Junk")))
pixbuf = folder_icons[FOLDER_ICON_JUNK];
else
pixbuf = folder_icons[FOLDER_ICON_NORMAL];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]