aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-11 07:28:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-11 07:28:15 +0800
commit18b44d230e3a9a687d1f581aa00ebd52c0a4d69a (patch)
treedf598de4f81c97ebc24b8c82138423f327caa8c6 /mail/mail-config-druid.c
parent17bdb9c55fc2f204ec25757cce7937dc03b89dc2 (diff)
downloadgsoc2013-evolution-18b44d230e3a9a687d1f581aa00ebd52c0a4d69a.tar.gz
gsoc2013-evolution-18b44d230e3a9a687d1f581aa00ebd52c0a4d69a.tar.zst
gsoc2013-evolution-18b44d230e3a9a687d1f581aa00ebd52c0a4d69a.zip
We also need to call message_list_set_hidedeleted() here so that any
2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_list): We also need to call message_list_set_hidedeleted() here so that any deactivated folder controls will change to the currently set state when re-activated. (folder_browser_ui_add_global): Same for show_preview. * folder-browser.c (hide_deleted_changed): Don't call message_list_set_hidedeleted() here. (folder_browser_toggle_hide_deleted): Instead, call it here. This way we get a faster "response time". Also, this will make it so that not all folder controls will regen their message-list at the same time. (folder_browser_toggle_preview): Same idea as the hide-deleted changes. (show_preview_changed): See above. * mail-config-druid.c (make_account): Default the new account to enabled. (wizard_finish_cb): Don't set enabled here. svn path=/trunk/; revision=19417
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 3ca9d05839..dda278cbc1 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -465,6 +465,7 @@ make_account (void)
struct utsname uts;
account = g_new0 (MailConfigAccount, 1);
+ account->enabled = TRUE;
account->id = g_new0 (MailConfigIdentity, 1);
name = g_get_real_name ();
@@ -769,7 +770,7 @@ get_fn (EvolutionWizard *wizard,
if (gui->gui == NULL) {
if (gui->account == NULL) {
gui->account = make_account ();
- g_object_set_data(G_OBJECT(wizard), "account-data", gui->account);
+ g_object_set_data ((GObject *) wizard, "account-data", gui->account);
}
gui->gui = mail_account_gui_new (gui->account, NULL);
@@ -938,8 +939,6 @@ wizard_finish_cb (EvolutionWizard *wizard,
MailConfigWizard *w)
{
MailAccountGui *gui = w->gui;
-
- gui->account->enabled = TRUE;
/* Save the settings for that account */
if (mail_account_gui_save (gui) == FALSE)