From 8d91a9c1c66077eb71a0bdab2bd946be70afa1ac Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 18 Oct 2000 10:51:55 +0000 Subject: Disable the optionmenu because it is empty. (service_page_item_auth_fill): 2000-10-17 Iain Holmes * mail-config-gui.c (service_page_item_new): Disable the optionmenu because it is empty. (service_page_item_auth_fill): Enable the optionmenu as there's stuff in it now. * mail-callbacks.c (reply_to_sender): Call check_send_configuration when we have the FolderBrowser because if it is done in mail_reply (with passing NULL) it will only be able to continue if the mailer has already been configured. (reply_to_all): Same. svn path=/trunk/; revision=5984 --- mail/mail-config-gui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/mail-config-gui.c') diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c index 34560647ac..e096339d15 100644 --- a/mail/mail-config-gui.c +++ b/mail/mail-config-gui.c @@ -755,7 +755,8 @@ service_page_item_auth_fill (MailDialogServicePage *page, 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) + gtk_widget_set_sensitive (spitem->auth_optionmenu, TRUE); + if (firstitem) service_page_item_auth_activate (firstitem, spitem); } @@ -929,6 +930,8 @@ service_page_item_new (MailDialogServicePage *page, MailService *mcs) gtk_misc_set_alignment (GTK_MISC (label), 1, 0.5); item->auth_optionmenu = gtk_option_menu_new (); + gtk_widget_set_sensitive (item->auth_optionmenu, FALSE); + gtk_table_attach (GTK_TABLE (table), item->auth_optionmenu, 1, 2, row, row + 1, -- cgit v1.2.3