aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-12 02:41:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-12 02:41:03 +0800
commite7ea4f09d395f5656b959ebc1a0016608fe1b0fd (patch)
tree43a0a5a136dfb725a8719c42aa1aaf8546e07308
parent69e974fcc769de38d2ef2aa07f6a40810bd1d61b (diff)
downloadgsoc2013-evolution-e7ea4f09d395f5656b959ebc1a0016608fe1b0fd.tar.gz
gsoc2013-evolution-e7ea4f09d395f5656b959ebc1a0016608fe1b0fd.tar.zst
gsoc2013-evolution-e7ea4f09d395f5656b959ebc1a0016608fe1b0fd.zip
Work around gtk option menu bug. (service_page_item_auth_fill): ditto
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 svn path=/trunk/; revision=4749
-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);