aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-account-gui.c7
2 files changed, 11 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index cb68f13ea6..522af8d4df 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2003-05-14 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c: Disabled some debugging messages.
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;
}