From 3ee258c7561792a7a9b999751ec99288ace2a3b4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 4 Jan 2006 02:04:15 +0000 Subject: Reinstate the run-time glade file pathname lookup change from 2005-11-26. 2006-01-04 Tor Lillqvist * gui/dialogs/cal-prefs-dialog.c: Reinstate the run-time glade file pathname lookup change from 2005-11-26. It had been overwritten on 2005-12-19. svn path=/trunk/; revision=31042 --- calendar/gui/dialogs/cal-prefs-dialog.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index f88ecd89cd..a626ce8f1d 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -33,6 +33,7 @@ #include "cal-prefs-dialog.h" #include #include +#include #include #include @@ -497,8 +498,13 @@ calendar_prefs_dialog_construct (CalendarPrefsDialog *prefs) "fri_button", "sat_button", }; + char *gladefile; - gui = glade_xml_new (EVOLUTION_GLADEDIR "/cal-prefs-dialog.glade", "toplevel-notebook", NULL); + gladefile = g_build_filename (EVOLUTION_GLADEDIR, + "cal-prefs-dialog.glade", + NULL); + gui = glade_xml_new (gladefile, "toplevel-notebook", NULL); + g_free (gladefile); prefs->gui = gui; prefs->gconf = gconf_client_get_default (); -- cgit