aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/proxy.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/proxy.c
parent463aff5ebbf259490072a5dc01b55fbccffb9a39 (diff)
downloadgsoc2013-evolution-68d3608b81c2a980cd13352badfcfcfe59477c94.tar.gz
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/proxy.c')
-rw-r--r--plugins/groupwise-features/proxy.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c
index 7e2aea30bf..bac1f9ba80 100644
--- a/plugins/groupwise-features/proxy.c
+++ b/plugins/groupwise-features/proxy.c
@@ -330,7 +330,9 @@ proxy_dialog_store_widgets_data (EAccount *account, gint32 dialog, GtkWindow *pa
tmp = destinations;
if (!tmp) {
- e_error_run (parent, "org.gnome.evolution.proxy:no-user",NULL ,NULL);
+ e_error_run_dialog_for_args (parent,
+ "org.gnome.evolution.proxy:no-user",
+ NULL, NULL);
return -1;
}
@@ -342,11 +344,15 @@ proxy_dialog_store_widgets_data (EAccount *account, gint32 dialog, GtkWindow *pa
continue;
if (g_strrstr (email, "@") == NULL) {
- e_error_run (parent, "org.gnome.evolution.proxy:invalid-user", email, NULL);
+ e_error_run_dialog_for_args (parent,
+ "org.gnome.evolution.proxy:invalid-user",
+ email, NULL);
return -1;
}
if (! g_ascii_strcasecmp(e_gw_connection_get_user_email (prd->cnc), email)) {
- e_error_run (parent, "org.gnome.evolution.proxy:invalid-user", email, NULL);
+ e_error_run_dialog_for_args (parent,
+ "org.gnome.evolution.proxy:invalid-user",
+ email, NULL);
return -1;
}
@@ -365,7 +371,9 @@ proxy_dialog_store_widgets_data (EAccount *account, gint32 dialog, GtkWindow *pa
return 0;
}
- e_error_run (parent, "org.gnome.evolution.proxy:user-is-proxy",email ,NULL);
+ e_error_run_dialog_for_args (parent,
+ "org.gnome.evolution.proxy:user-is-proxy",
+ email, NULL);
return -1;
}
}