diff options
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-config.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index e71e6262bd..5936258b72 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2000-07-25 Ettore Perazzoli <ettore@helixcode.com> + + * mail-config.c (create_service_page): Call + `gtk_option_menu_set_menu()' as the last thing, as `GtkOptionMenu' + is fscking broken. Also, `gtk_widget_show()' the individual menu + items. + 2000-07-24 Dan Winship <danw@helixcode.com> * message-list.c (mark_msg_seen, ml_tree_set_value_at, diff --git a/mail/mail-config.c b/mail/mail-config.c index f996e05954..ce5c1a8501 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -908,7 +908,6 @@ create_service_page (GtkWidget *vbox, const char *label_text, GList *services, gtk_object_set_data (GTK_OBJECT (vbox), "stype_optionmenu", stype_optionmenu); gtk_box_pack_start (GTK_BOX (hbox), stype_optionmenu, TRUE, TRUE, 0); stype_menu = gtk_menu_new (); - gtk_option_menu_set_menu (GTK_OPTION_MENU (stype_optionmenu), stype_menu); stype_html = html_new (TRUE); gtk_object_set_data (GTK_OBJECT (vbox), "html", stype_html); @@ -942,11 +941,16 @@ create_service_page (GtkWidget *vbox, const char *label_text, GList *services, GUINT_TO_POINTER (page)); gtk_object_set_data (GTK_OBJECT (menuitem), "description", st->provider->description); + + gtk_widget_show (menuitem); } stype_menuitem_activate (GTK_OBJECT (first_menuitem), GTK_OBJECT (vbox)); gtk_option_menu_set_history (GTK_OPTION_MENU (stype_optionmenu), 0); + gtk_widget_show (stype_menu); + gtk_option_menu_set_menu (GTK_OPTION_MENU (stype_optionmenu), stype_menu); + gtk_widget_show_all (vbox); } |