aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/mail-retract.c
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/groupwise-features/mail-retract.c
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/groupwise-features/mail-retract.c')
-rw-r--r--plugins/groupwise-features/mail-retract.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/groupwise-features/mail-retract.c b/plugins/groupwise-features/mail-retract.c
index 1de2dfdead..cffc371454 100644
--- a/plugins/groupwise-features/mail-retract.c
+++ b/plugins/groupwise-features/mail-retract.c
@@ -100,7 +100,9 @@ gw_retract_mail_cb (GtkAction *action, EShellView *shell_view)
if (n == GTK_RESPONSE_YES) {
if (e_gw_connection_retract_request (cnc, id, NULL, FALSE, FALSE) != E_GW_CONNECTION_STATUS_OK )
- e_error_run (GTK_WINDOW (e_shell_view_get_shell_window (shell_view)), "org.gnome.evolution.message.retract:retract-failure", NULL);
+ e_error_run_dialog_for_args (GTK_WINDOW (e_shell_view_get_shell_window (shell_view)),
+ "org.gnome.evolution.message.retract:retract-failure",
+ NULL);
else {
GtkWidget *dialog;
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, _("Message retracted successfully"));