diff options
author | Iain Holmes <iain@helixcode.com> | 2000-10-18 18:51:55 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2000-10-18 18:51:55 +0800 |
commit | 8d91a9c1c66077eb71a0bdab2bd946be70afa1ac (patch) | |
tree | ec27a07105b5a42fd9cfe938d63f446ede5642dc /mail/mail-config-gui.c | |
parent | afe6513468ae8f21168e64ac67822b1234a0ebcd (diff) | |
download | gsoc2013-evolution-8d91a9c1c66077eb71a0bdab2bd946be70afa1ac.tar.gz gsoc2013-evolution-8d91a9c1c66077eb71a0bdab2bd946be70afa1ac.tar.zst gsoc2013-evolution-8d91a9c1c66077eb71a0bdab2bd946be70afa1ac.zip |
Disable the optionmenu because it is empty. (service_page_item_auth_fill):
2000-10-17 Iain Holmes <iain@helixcode.com>
* 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
Diffstat (limited to 'mail/mail-config-gui.c')
-rw-r--r-- | mail/mail-config-gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
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, |