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
This commit is contained in:
Shi Pu
2005-12-06 08:37:28 +00:00
committed by Harry Lu
parent 3a3283c6e0
commit bd1f4fbcd8
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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);