evolution r35899 - trunk/mail



Author: msuman
Date: Mon Aug  4 03:58:40 2008
New Revision: 35899
URL: http://svn.gnome.org/viewvc/evolution?rev=35899&view=rev

Log:
Patch from Paul Bolle  <pebolle tiscali nl>: Fix for bug #543058 (Use "Inbox" instead of "INBOX" while displaying IMAP mailbox).

Modified:
   trunk/mail/ChangeLog
   trunk/mail/em-folder-properties.c
   trunk/mail/mail-component.c

Modified: trunk/mail/em-folder-properties.c
==============================================================================
--- trunk/mail/em-folder-properties.c	(original)
+++ trunk/mail/em-folder-properties.c	Mon Aug  4 03:58:40 2008
@@ -351,7 +351,8 @@
 			}
 			emfp_items_translated = TRUE;
 		}
-	}
+	} else if (!strcmp(prop_data->name, "INBOX"))
+		emfp_items[EMFP_FOLDER_SECTION].label = _("Inbox");
 	else
 		emfp_items[EMFP_FOLDER_SECTION].label = prop_data->name;
 

Modified: trunk/mail/mail-component.c
==============================================================================
--- trunk/mail/mail-component.c	(original)
+++ trunk/mail/mail-component.c	Mon Aug  4 03:58:40 2008
@@ -579,6 +579,8 @@
 		    && (!strcmp (name, "Drafts") || !strcmp (name, "Inbox")
 			|| !strcmp (name, "Outbox") || !strcmp (name, "Sent")))
 			use_name = _(name);
+		else if (!strcmp (name, "INBOX"))
+ 			use_name = _("Inbox");
 		else
 			use_name = name;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]