aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
authorAdam Hooper <adamh@src.gnome.org>2004-01-22 04:39:19 +0800
committerAdam Hooper <adamh@src.gnome.org>2004-01-22 04:39:19 +0800
commita37e3c5e53cba57d1338880a7dec1c035779b742 (patch)
treed480c4c61273f8b1d4b6f1c5f667a6a73c893332 /src/prefs-dialog.c
parentd9cb8655babc4b628f16869b0f476f9fe49acab3 (diff)
downloadgsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.gz
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.zst
gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.zip
Call ephy_file() explicitly for each glade file, letting extensions load glade files from any path
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index be3bf71b4..d0a9b1e4b 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -39,6 +39,7 @@
#include "ephy-debug.h"
#include "ephy-ellipsizing-label.h"
#include "ephy-file-chooser.h"
+#include "ephy-file-helpers.h"
#include "ephy-tree-model-node.h"
#include "ephy-tree-model-sort.h"
@@ -795,7 +796,8 @@ setup_add_language_dialog (PrefsDialog *pd)
NULL));
ephy_dialog_construct (dialog, add_lang_props,
- "prefs-dialog.glade", "add_language_dialog");
+ ephy_file ("prefs-dialog.glade"),
+ "add_language_dialog");
store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING);
@@ -1144,7 +1146,7 @@ prefs_dialog_init (PrefsDialog *pd)
ephy_dialog_construct (dialog,
properties,
- "prefs-dialog.glade",
+ ephy_file ("prefs-dialog.glade"),
"prefs_dialog");
ephy_dialog_add_enum (dialog, properties[ACCEPT_COOKIES_PROP].id,