aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-05-16 07:37:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-05-16 07:37:02 +0800
commitbf4ef74000efa46cd27f4527e223a21658b67b22 (patch)
tree6e8c47c607b18d709d5d09bca8b81cf4b578f99c /mail/mail-account-gui.c
parent383b5fe9d77049c31fa69e2202938c7c09df7548 (diff)
downloadgsoc2013-evolution-bf4ef74000efa46cd27f4527e223a21658b67b22.tar.gz
gsoc2013-evolution-bf4ef74000efa46cd27f4527e223a21658b67b22.tar.zst
gsoc2013-evolution-bf4ef74000efa46cd27f4527e223a21658b67b22.zip
** See bug #42838.
2003-05-15 Not Zed <NotZed@Ximian.com> ** See bug #42838. * mail-account-gui.c (mail_account_gui_build_extra_conf): always add the extra entry to the hash table, most paths wouldn't. svn path=/trunk/; revision=21203
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 1542de946d..02da27caa1 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -900,7 +900,6 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
label = gtk_label_new (entries[i].text);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
entry = gtk_entry_new ();
- g_hash_table_insert (gui->extra_config, entries[i].name, entry);
gtk_table_attach (cur_table, label, 0, 1, rows, rows + 1,
GTK_FILL, 0, 0, 0);
@@ -908,7 +907,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
GTK_EXPAND | GTK_FILL, 0, 0, 0);
rows++;
}
-
+
if (url)
text = camel_url_get_param (url, entries[i].name);
else
@@ -921,7 +920,9 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
setup_toggle (entry, entries[i].depname, gui);
setup_toggle (label, entries[i].depname, gui);
}
-
+
+ g_hash_table_insert (gui->extra_config, entries[i].name, entry);
+
break;
}