diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2008-01-10 17:31:07 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2008-01-10 17:31:07 +0800 |
commit | 510eb1f01695c5d92df90bb3a2d2fbbc2bec8f40 (patch) | |
tree | bd1ab6db455a33645abebb4c306a2999a707f356 /mail/mail-session.c | |
parent | e5cef658e433f10644bbccb74d10e4f1db4e4c24 (diff) | |
download | gsoc2013-evolution-510eb1f01695c5d92df90bb3a2d2fbbc2bec8f40.tar.gz gsoc2013-evolution-510eb1f01695c5d92df90bb3a2d2fbbc2bec8f40.tar.zst gsoc2013-evolution-510eb1f01695c5d92df90bb3a2d2fbbc2bec8f40.zip |
** Most of the errors are now non-intrusive
2008-01-10 Srinivasa Ragavan <sragavan@novell.com>
** Most of the errors are now non-intrusive
* em-folder-utils.c: (emfu_copy_folder_selected),
(emfu_delete_response), (em_folder_utils_delete_folder):
* em-folder-view.c: (emfv_delete_msg_response):
* em-utils.c: (em_utils_edit_filters),
(em_utils_save_part_to_file), (em_utils_temp_save_part),
(error_response), (em_utils_show_error_silent),
(em_utils_show_info_silent):
* em-utils.h:
* mail-autofilter.c: (mail_filter_delete_uri):
* mail-component.c: (mail_component_show_logger):
* mail-mt.c: (mail_msg_free):
* mail-session.c: (do_user_message):
* mail-vfolder.c: (mail_vfolder_delete_uri), (vfolder_edit_rule):
svn path=/trunk/; revision=34787
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c index 6dd7d5a8cd..010b758146 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -47,6 +47,7 @@ #include "em-filter-context.h" #include "em-filter-rule.h" +#include "em-utils.h" #include "mail-component.h" #include "mail-config.h" #include "mail-mt.h" @@ -331,7 +332,8 @@ user_message_exec (struct _user_message_msg *m) "mail:session-message-error"; break; default: - g_assert_not_reached (); + error_type = NULL; + g_return_if_reached (); } user_message_dialog = e_error_new (NULL, error_type, m->prompt, NULL); @@ -345,10 +347,11 @@ user_message_exec (struct _user_message_msg *m) gint response = gtk_dialog_run (user_message_dialog); user_message_response (user_message_dialog, response, m); } else { + g_object_set_data ((GObject *) user_message_dialog, "response-handled", GINT_TO_POINTER(TRUE)); g_signal_connect ( user_message_dialog, "response", G_CALLBACK (user_message_response), m); - gtk_widget_show (user_message_dialog); + em_utils_show_error_silent (user_message_dialog); } } |