diff options
author | Shi Pu <shi.pu@sun.com> | 2005-12-06 16:37:28 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-12-06 16:37:28 +0800 |
commit | bd1f4fbcd820f34571df425769ede23f7318811f (patch) | |
tree | f16ed2bc5bd35e26aff33e4ed0f80d0c6d6d3f6d /mail | |
parent | 3a3283c6e0b0ed97e9611d729afc1762477c6714 (diff) | |
download | gsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.tar gsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.tar.gz gsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.tar.bz2 gsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.tar.lz gsoc2013-evolution-bd1f4fbcd820f34571df425769ede23f7318811f.tar.xz 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/ChangeLog | 8 | ||||
-rw-r--r-- | mail/mail-send-recv.c | 2 |
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); |