aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/proxy-login.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-12-18 02:45:07 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-12-18 02:45:07 +0800
commit9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff (patch)
tree8f63d0f411c9060e1bc996cbcb300f2a085a6754 /plugins/groupwise-features/proxy-login.c
parentdf6c612eaa2e2f1b1b691d1f56d7079c9700a826 (diff)
downloadgsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.tar.gz
gsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.tar.zst
gsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.zip
junk-settings.c proxy-login.c proxy.c Construct glade file name at
2005-12-17 Tor Lillqvist <tml@novell.com> * junk-settings.c * proxy-login.c * proxy.c * share-folder.c: Construct glade file name at run-time. * process-meeting.c (find_attendee): Use g_ascii_strcasecmp() instead of g_strcasecmp(). svn path=/trunk/; revision=30844
Diffstat (limited to 'plugins/groupwise-features/proxy-login.c')
-rw-r--r--plugins/groupwise-features/proxy-login.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/groupwise-features/proxy-login.c b/plugins/groupwise-features/proxy-login.c
index a0581438c2..9c6eebfffd 100644
--- a/plugins/groupwise-features/proxy-login.c
+++ b/plugins/groupwise-features/proxy-login.c
@@ -56,6 +56,7 @@
#include <e-util/e-account.h>
#include <e-util/e-error.h>
#include <e-util/e-icon-factory.h>
+#include <e-util/e-util-private.h>
#include <e-gw-container.h>
#include <e-gw-connection.h>
@@ -472,6 +473,7 @@ org_gnome_proxy_account_login (EPopup *ep, EPopupItem *p, void *data)
char *uri = data;
proxyLoginPrivate *priv;
EGwConnection *cnc;
+ char *gladefile;
/* This pops-up the password dialog in case the User has forgot-passwords explicitly */
cnc = proxy_login_get_cnc (mail_config_get_account_by_source_url (uri));
@@ -479,7 +481,13 @@ org_gnome_proxy_account_login (EPopup *ep, EPopupItem *p, void *data)
pld = proxy_login_new();
priv = pld->priv;
- priv->xml = glade_xml_new (EVOLUTION_GLADEDIR "/proxy-login-dialog.glade", NULL, NULL);
+
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "proxy-login-dialog.glade",
+ NULL);
+ priv->xml = glade_xml_new (gladefile, NULL, NULL);
+ g_free (gladefile);
+
priv->main = glade_xml_get_widget (priv->xml, "proxy_login_dialog");
pld->account = mail_config_get_account_by_source_url (uri);
priv->tree = GTK_TREE_VIEW (glade_xml_get_widget (priv->xml, "proxy_login_treeview"));