aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mailing-list-actions
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-11-25 08:11:23 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-01 03:32:22 +0800
commit68d3608b81c2a980cd13352badfcfcfe59477c94 (patch)
tree1ba82b47176beb0e8ac0e3d104b087be7019dacd /plugins/mailing-list-actions
parent463aff5ebbf259490072a5dc01b55fbccffb9a39 (diff)
downloadgsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.tar
gsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.tar.gz
gsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.tar.bz2
gsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.tar.lz
gsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.tar.xz
gsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.tar.zst
gsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.zip
port plugins to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
Diffstat (limited to 'plugins/mailing-list-actions')
-rw-r--r--plugins/mailing-list-actions/mailing-list-actions.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c
index 428bb187a7..9e88b356bd 100644
--- a/plugins/mailing-list-actions/mailing-list-actions.c
+++ b/plugins/mailing-list-actions/mailing-list-actions.c
@@ -122,7 +122,7 @@ emla_list_action_do (CamelFolder *folder,
if (!header) {
/* there was no header matching the action */
- e_error_run (parent, MESSAGE_NO_HEADER, NULL);
+ e_error_run_dialog_for_args (parent, MESSAGE_NO_HEADER, NULL);
goto exit;
}
@@ -131,7 +131,7 @@ emla_list_action_do (CamelFolder *folder,
if (action == EMLA_ACTION_POST) {
while (*headerpos == ' ') headerpos++;
if (g_ascii_strcasecmp (headerpos, "NO") == 0) {
- e_error_run (parent, MESSAGE_POSTING_NOT_ALLOWED, NULL);
+ e_error_run_dialog_for_args (parent, MESSAGE_POSTING_NOT_ALLOWED, NULL);
goto exit;
}
}
@@ -141,7 +141,7 @@ emla_list_action_do (CamelFolder *folder,
/* skip whitespace */
while (*headerpos == ' ') headerpos++;
if (*headerpos != '<' || (end = strchr (headerpos++, '>')) == NULL) {
- e_error_run (
+ e_error_run_dialog_for_args (
parent, MESSAGE_MALFORMED_HEADER,
emla_action_headers[t].header, header, NULL);
goto exit;
@@ -154,7 +154,7 @@ emla_list_action_do (CamelFolder *folder,
if (emla_action_headers[t].interactive)
send_message_response = GTK_RESPONSE_NO;
else
- send_message_response = e_error_run (
+ send_message_response = e_error_run_dialog_for_args (
parent, MESSAGE_ASK_SEND_MESSAGE,
url, NULL);
@@ -188,7 +188,7 @@ emla_list_action_do (CamelFolder *folder,
}
/* if we got here, there's no valid action */
- e_error_run (parent, MESSAGE_NO_ACTION, header, NULL);
+ e_error_run_dialog_for_args (parent, MESSAGE_NO_ACTION, header, NULL);
exit:
g_object_unref (action_data->reader);