[evolution-patches] Fix for Bug 221270 [UI]



Hi

Attached fix for Bug 221270 – Send & Receive -dialog should show also
account name for usability reasons

Please Review

Thanks,
Rohini
Index: mail-send-recv.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-send-recv.c,v
retrieving revision 1.106
diff -u -p -r1.106 mail-send-recv.c
--- mail-send-recv.c	16 Jan 2006 07:32:16 -0000	1.106
+++ mail-send-recv.c	18 Jan 2006 06:03:47 -0000
@@ -261,21 +261,24 @@ format_url(const char *internal_url, con
        	char *pretty_url;
 
 	url = camel_url_new(internal_url, NULL);
+	/* Displays Information for email Accounts in the format below
+	 * <B>ACCOUNT NAME (PROTOCOL)</B>: SERVER
+	 */
 	if (account_name) {
 		if (url->host && *url->host)
-			pretty_url = g_strdup_printf(_("<b>%s (%s)</b> : %s"), account_name, url->protocol, url->host);
+			pretty_url = g_strdup_printf("<b>%s (%s)</b>: %s", account_name, url->protocol, url->host);
 		else if (url->path)
-			pretty_url = g_strdup_printf(_("<b>%s (%s)</b> : %s"), account_name, url->protocol, url->path);
+			pretty_url = g_strdup_printf("<b>%s (%s)</b>: %s", account_name, url->protocol, url->path);
 		else 
-			pretty_url = g_strdup_printf(_("<b>%s (%s)</b>"), account_name, url->protocol);
+			pretty_url = g_strdup_printf("<b>%s (%s)</b>", account_name, url->protocol);
 	}
 	else {
 		if (url->host && *url->host)
-			pretty_url = g_strdup_printf(_("<b>%s</b> : %s"), url->protocol, url->host);
+			pretty_url = g_strdup_printf("<b>%s</b>: %s", url->protocol, url->host);
 		else if (url->path)
-			pretty_url = g_strdup_printf(_("<b>%s</b> : %s"), url->protocol, url->path);
+			pretty_url = g_strdup_printf("<b>%s</b>: %s", url->protocol, url->path);
 		else 
-			pretty_url = g_strdup_printf(_("<b>%s</b>"), url->protocol);
+			pretty_url = g_strdup_printf("<b>%s</b>", url->protocol);
 	}
 	camel_url_free(url);
 
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3777
diff -u -p -r1.3777 ChangeLog
--- ChangeLog	16 Jan 2006 15:59:03 -0000	1.3777
+++ ChangeLog	18 Jan 2006 06:03:55 -0000
@@ -1,3 +1,11 @@
+2006-01-18  Rohini S  <srohini novell com>
+
+	** Fixes bug #221270.
+
+	* mail-send-recv.c: (build_dialog):
+	Removed white space before : when displaying account information in 
+	Send/Receive dialog.
+
 2006-01-16  Harish Krishnaswamy  <kharish novell com>
 
 	* mail-component.c: (impl__get_userCreatableItems):


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