aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorShi Pu <shi.pu@sun.com>2005-12-06 16:37:28 +0800
committerHarry Lu <haip@src.gnome.org>2005-12-06 16:37:28 +0800
commitbd1f4fbcd820f34571df425769ede23f7318811f (patch)
treef16ed2bc5bd35e26aff33e4ed0f80d0c6d6d3f6d /mail
parent3a3283c6e0b0ed97e9611d729afc1762477c6714 (diff)
downloadgsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.tar.gz
gsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.tar.zst
gsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.zip
See bug ** 323253
2005-12-05 Shi Pu <shi.pu@sun.com> See bug ** 323253 * mail-send-recv.c: (format_url): If url->host is NULL or it is emtpy, don't print it out in send & receive dialog. svn path=/trunk/; revision=30727
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-send-recv.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6e5d425295..6b7a143e2b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2005-12-05 Shi Pu <shi.pu@sun.com>
+
+ See bug ** 323253
+
+ * mail-send-recv.c: (format_url):
+ If url->host is NULL or it is emtpy,
+ don't print it out in send & receive dialog.
+
2005-11-28 Jeffrey Stedfast <fejj@novell.com>
* em-folder-view.c (emfv_setting_notify): literal strings do not
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index efd0a2f884..99e5492587 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -261,7 +261,7 @@ format_url(const char *internal_url)
char *pretty_url;
url = camel_url_new(internal_url, NULL);
- if (url->host)
+ if (url->host && *url->host)
pretty_url = g_strdup_printf(_("Server: %s, Type: %s"), url->host, url->protocol);
else if (url->path)
pretty_url = g_strdup_printf(_("Path: %s, Type: %s"), url->path, url->protocol);