diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-25 19:27:57 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-25 19:27:57 +0800 |
commit | 6cb94e8b13ded17561115f18f0c6cae2705ecbf6 (patch) | |
tree | 5e5a51963298d7ad3eae8525a0806a1b4f11cb83 /mail | |
parent | 5b9ae086e8d94b5354b96543175c1ffe0922fa3c (diff) | |
download | gsoc2013-evolution-6cb94e8b13ded17561115f18f0c6cae2705ecbf6.tar.gz gsoc2013-evolution-6cb94e8b13ded17561115f18f0c6cae2705ecbf6.tar.zst gsoc2013-evolution-6cb94e8b13ded17561115f18f0c6cae2705ecbf6.zip |
Fix GtkOptionMenu usage so that the mail source selector looks right.
svn path=/trunk/; revision=4314
Diffstat (limited to 'mail')
-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); } |