aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/proxy-login.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-login.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-login.c')
-rw-r--r--plugins/groupwise-features/proxy-login.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/groupwise-features/proxy-login.c b/plugins/groupwise-features/proxy-login.c
index 8a8c103614..684dcd6d38 100644
--- a/plugins/groupwise-features/proxy-login.c
+++ b/plugins/groupwise-features/proxy-login.c
@@ -320,7 +320,9 @@ proxy_soap_login (gchar *email, GtkWindow *error_parent)
if (email[i]=='@')
name = g_strndup(email, i);
else {
- e_error_run (error_parent, "org.gnome.evolution.proxy-login:invalid-user",email ,NULL);
+ e_error_run_dialog_for_args (error_parent,
+ "org.gnome.evolution.proxy-login:invalid-user",
+ email, NULL);
return;
}
@@ -328,7 +330,9 @@ proxy_soap_login (gchar *email, GtkWindow *error_parent)
If so, it is violating the (li)unix philosophy of User creation. So dont care about that scenario*/
if (e_account_list_find (accounts, E_ACCOUNT_FIND_ID_ADDRESS, email) != NULL) {
- e_error_run (error_parent, "org.gnome.evolution.proxy-login:already-loggedin", email, NULL);
+ e_error_run_dialog_for_args (error_parent,
+ "org.gnome.evolution.proxy-login:already-loggedin",
+ email, NULL);
g_free (name);
return;
}
@@ -363,7 +367,9 @@ proxy_soap_login (gchar *email, GtkWindow *error_parent)
g_free (parent_source_url);
camel_url_free (parent);
} else {
- e_error_run (error_parent, "org.gnome.evolution.proxy-login:invalid-user",email ,NULL);
+ e_error_run_dialog_for_args (error_parent,
+ "org.gnome.evolution.proxy-login:invalid-user",
+ email, NULL);
return;
}