aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/share-folder.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/share-folder.c
parentdf6c612eaa2e2f1b1b691d1f56d7079c9700a826 (diff)
downloadgsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.tar
gsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.tar.gz
gsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.tar.bz2
gsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.tar.lz
gsoc2013-evolution-9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff.tar.xz
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/share-folder.c')
-rw-r--r--plugins/groupwise-features/share-folder.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/plugins/groupwise-features/share-folder.c b/plugins/groupwise-features/share-folder.c
index 847279c2d2..beb4e0a533 100644
--- a/plugins/groupwise-features/share-folder.c
+++ b/plugins/groupwise-features/share-folder.c
@@ -39,6 +39,7 @@
#include <libgnomeui/gnome-ui-init.h>
#include <libgnome/gnome-init.h>
#include <e-util/e-error.h>
+#include <e-util/e-util-private.h>
#include <e-gw-container.h>
#include <e-gw-connection.h>
#define ROOTNODE "vboxSharing"
@@ -519,9 +520,16 @@ notification_clicked(GtkButton *button, ShareFolder *sf)
GtkButton *not_ok;
GtkButton *not_cancel;
GtkWidget *vbox;
+ char *gladefile;
sf->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- xmln = glade_xml_new (EVOLUTION_GLADEDIR "/properties.glade", NROOTNODE , NULL);
+
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "properties.glade",
+ NULL);
+ xmln = glade_xml_new (gladefile, NROOTNODE , NULL);
+ g_free (gladefile);
+
vbox = GTK_WIDGET (glade_xml_get_widget (xmln, "vbox191"));
gtk_container_add (GTK_CONTAINER (sf->window), vbox);
sf->subject = GTK_ENTRY (glade_xml_get_widget (xmln, "entry3"));
@@ -681,8 +689,14 @@ share_folder_construct (ShareFolder *sf)
ENameSelectorModel *name_selector_model;
ENameSelectorEntry *name_selector_entry;
GtkWidget *box;
+ char *gladefile;
+
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "properties.glade",
+ NULL);
+ xml = glade_xml_new (gladefile, ROOTNODE, NULL);
+ g_free (gladefile);
- xml = glade_xml_new (EVOLUTION_GLADEDIR "/properties.glade", ROOTNODE, NULL);
sf->xml =xml;
if (!sf->xml) {