From 28783ed7f587fc4420c804cf16e78ccd1b75cf46 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 29 Sep 2001 00:13:10 +0000 Subject: Don't create checkboxes for global Threaded or Preview options as they are 2001-09-28 Jeffrey Stedfast * mail-accounts.c (construct): Don't create checkboxes for global Threaded or Preview options as they are now removed. svn path=/trunk/; revision=13244 --- mail/ChangeLog | 5 +++++ mail/mail-accounts.c | 6 ++++++ mail/mail-accounts.h | 4 ++-- mail/mail-config.glade | 28 ---------------------------- 4 files changed, 13 insertions(+), 30 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 49ceaf5ee9..0f2de99021 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-09-28 Jeffrey Stedfast + + * mail-accounts.c (construct): Don't create checkboxes for global + Threaded or Preview options as they are now removed. + 2001-09-28 * component-factory.c (owner_set_cb): Setup vfolder storage before diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index 15228dc61a..0bc9191743 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -683,6 +683,8 @@ prompt_bcc_only_toggled (GtkWidget *toggle, gpointer data) mail_config_set_prompt_only_bcc (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (toggle))); } +#if 0 +/* Note: Please see construct() for a reason as to why these 2 options are disabled */ static void thread_list_toggled (GtkWidget *toggle, gpointer data) { @@ -694,6 +696,7 @@ show_preview_toggled (GtkWidget *toggle, gpointer data) { mail_config_set_show_preview (NULL, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (toggle))); } +#endif static void filter_log_toggled (GtkWidget *toggle, gpointer data) @@ -835,6 +838,8 @@ construct (MailAccountsDialog *dialog) gtk_signal_connect (GTK_OBJECT (dialog->images_always), "toggled", GTK_SIGNAL_FUNC (images_radio_toggled), dialog); +#if 0 + /* These options are disabled because they are completely non-intuitive and evil */ dialog->thread_list = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkThreadedList")); gtk_toggle_button_set_active (dialog->thread_list, mail_config_get_thread_list (NULL)); gtk_signal_connect (GTK_OBJECT (dialog->thread_list), "toggled", @@ -844,6 +849,7 @@ construct (MailAccountsDialog *dialog) gtk_toggle_button_set_active (dialog->show_preview, mail_config_get_show_preview (NULL)); gtk_signal_connect (GTK_OBJECT (dialog->show_preview), "toggled", GTK_SIGNAL_FUNC (show_preview_toggled), dialog); +#endif /* Composer page */ dialog->send_html = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkSendHTML")); diff --git a/mail/mail-accounts.h b/mail/mail-accounts.h index 38cc82e043..e9e4423807 100644 --- a/mail/mail-accounts.h +++ b/mail/mail-accounts.h @@ -77,8 +77,8 @@ struct _MailAccountsDialog { GtkToggleButton *timeout_toggle; GtkSpinButton *timeout; GtkToggleButton *images_always, *images_sometimes, *images_never; - GtkToggleButton *thread_list; - GtkToggleButton *show_preview; + /*GtkToggleButton *thread_list;*/ + /*GtkToggleButton *show_preview;*/ /* Composer page */ GtkToggleButton *send_html; diff --git a/mail/mail-config.glade b/mail/mail-config.glade index 4b383ce5e0..7fd41db234 100644 --- a/mail/mail-config.glade +++ b/mail/mail-config.glade @@ -2752,34 +2752,6 @@ Kerberos - - - GtkCheckButton - chkThreadedList - True - - False - True - - 0 - False - False - - - - - GtkCheckButton - chkShowPreview - True - - True - True - - 0 - False - False - - -- cgit v1.2.3