aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-01-12 21:35:25 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-01-12 21:35:25 +0800
commit2d7c911e65d64ec0dfd19d7cdd598f68deea54ef (patch)
tree73990742f93cc63da544ded0674213dbe32ed0f0 /mail
parentd5b2771b47f190bdf606a48baff9783c8bddf84e (diff)
downloadgsoc2013-evolution-2d7c911e65d64ec0dfd19d7cdd598f68deea54ef.tar
gsoc2013-evolution-2d7c911e65d64ec0dfd19d7cdd598f68deea54ef.tar.gz
gsoc2013-evolution-2d7c911e65d64ec0dfd19d7cdd598f68deea54ef.tar.bz2
gsoc2013-evolution-2d7c911e65d64ec0dfd19d7cdd598f68deea54ef.tar.lz
gsoc2013-evolution-2d7c911e65d64ec0dfd19d7cdd598f68deea54ef.tar.xz
gsoc2013-evolution-2d7c911e65d64ec0dfd19d7cdd598f68deea54ef.tar.zst
gsoc2013-evolution-2d7c911e65d64ec0dfd19d7cdd598f68deea54ef.zip
** See bug #70990.
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
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-account-editor.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 309799a36d..8b8f4f8feb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -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
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 4d702963b6..508a4ee5a7 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -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);
}