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/mail-config.c | |
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/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |