2005-01-12  Not Zed  <NotZed@Ximian.com>

        ** See bug #70990.

        * em-account-editor.c (emae_service_url_changed): if the value is
        "" then don't set it

svn path=/trunk/; revision=28377
This commit is contained in:
Not Zed
2005-01-12 13:35:25 +00:00
committed by Michael Zucci
parent d5b2771b47
commit 2d7c911e65
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2005-01-12 Not Zed <NotZed@Ximian.com>
** See bug #70990.
* em-account-editor.c (emae_service_url_changed): if the value is
"" then don't set it
** See bug #70018.
* mail-signature-editor.c (mail_signature_editor): use the right

View File

@ -1037,8 +1037,9 @@ static void
emae_service_url_changed(EMAccountEditorService *service, void (*setval)(CamelURL *, const char *), GtkEntry *entry)
{
CamelURL *url = emae_account_url(service->emae, emae_service_info[service->type].account_uri_key);
const char *text = gtk_entry_get_text(entry);
setval(url, gtk_entry_get_text(entry));
setval(url, (text && text[0])?text:NULL);
emae_uri_changed(service, url);
camel_url_free(url);
}