From bc80332460c353e391cd620f2cc51f7b56eef4de Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 26 Jan 2009 18:49:51 +0000 Subject: Miscellaneous stuff. svn path=/branches/kill-bonobo/; revision=37134 --- mail/e-mail-reader-utils.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'mail/e-mail-reader-utils.c') diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c index 419581683d..b0c3edff2d 100644 --- a/mail/e-mail-reader-utils.c +++ b/mail/e-mail-reader-utils.c @@ -87,9 +87,8 @@ e_mail_reader_confirm_delete (EMailReader *reader) folder = message_list->folder; - g_object_get ( - shell_settings, "mail-prompt-delete-in-vfolder", - &prompt_delete_in_vfolder, NULL); + prompt_delete_in_vfolder = e_shell_settings_get_boolean ( + shell_settings, "mail-prompt-delete-in-vfolder"); if (!CAMEL_IS_VEE_STORE (folder->parent_store)) return TRUE; @@ -114,11 +113,11 @@ e_mail_reader_confirm_delete (EMailReader *reader) response = gtk_dialog_run (GTK_DIALOG (dialog)); if (response == GTK_RESPONSE_OK) - g_object_set ( + e_shell_settings_set_boolean ( shell_settings, "mail-prompt-delete-in-vfolder", gtk_toggle_button_get_active ( - GTK_TOGGLE_BUTTON (check_button)), NULL); + GTK_TOGGLE_BUTTON (check_button))); gtk_widget_destroy (dialog); -- cgit