aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-config-gui.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a1fd37971d..6096db8f28 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-11 JP Rosevear <jpr@helixcode.com>
+
+ * mail-config-gui.c (service_page_new): Work around
+ gtk option menu bug.
+ (service_page_item_auth_fill): ditto
+
2000-08-11 Peter Williams <peterw@helixcode.com>
* mail-threads.c (read_msg): Fix the new FORWARD_EVENT handler
diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c
index fa29bde7e8..eb199bca11 100644
--- a/mail/mail-config-gui.c
+++ b/mail/mail-config-gui.c
@@ -698,8 +698,6 @@ service_page_item_auth_fill (MailDialogServicePage *page,
GtkWidget *menu, *item, *firstitem = NULL;
menu = gtk_menu_new ();
- gtk_option_menu_set_menu (GTK_OPTION_MENU (spitem->auth_optionmenu),
- menu);
for (; authtypes; authtypes = authtypes->next) {
authtype = authtypes->data;
@@ -720,6 +718,8 @@ service_page_item_auth_fill (MailDialogServicePage *page,
}
gtk_widget_show_all (menu);
+ gtk_option_menu_set_menu (GTK_OPTION_MENU (spitem->auth_optionmenu),
+ menu);
gtk_option_menu_set_history (GTK_OPTION_MENU (spitem->auth_optionmenu), 0);
if (firstitem)
service_page_item_auth_activate (firstitem, spitem);
@@ -1061,7 +1061,6 @@ service_page_new (const char *label_text, GSList *services)
page->optionmenu = gtk_option_menu_new ();
menu = gtk_menu_new ();
- gtk_option_menu_set_menu (GTK_OPTION_MENU (page->optionmenu), menu);
gtk_box_pack_start (GTK_BOX (hbox), page->optionmenu, TRUE, TRUE, 0);
/* Notebook */
@@ -1092,7 +1091,8 @@ service_page_new (const char *label_text, GSList *services)
gtk_menu_append (GTK_MENU (menu), spitem->item);
page->items = g_list_append (page->items, spitem);
}
-
+
+ gtk_option_menu_set_menu (GTK_OPTION_MENU (page->optionmenu), menu);
service_page_menuitem_activate (first_item, page);
gtk_option_menu_set_history (GTK_OPTION_MENU (page->optionmenu), 0);