diff options
author | Adam Hooper <adamh@src.gnome.org> | 2004-01-22 04:39:19 +0800 |
---|---|---|
committer | Adam Hooper <adamh@src.gnome.org> | 2004-01-22 04:39:19 +0800 |
commit | a37e3c5e53cba57d1338880a7dec1c035779b742 (patch) | |
tree | d480c4c61273f8b1d4b6f1c5f667a6a73c893332 /embed/print-dialog.c | |
parent | d9cb8655babc4b628f16869b0f476f9fe49acab3 (diff) | |
download | gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.gz gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.bz2 gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.lz gsoc2013-epiphany-a37e3c5e53cba57d1338880a7dec1c035779b742.tar.xz 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 'embed/print-dialog.c')
-rwxr-xr-x | embed/print-dialog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/embed/print-dialog.c b/embed/print-dialog.c index 9c528b72d..37953f015 100755 --- a/embed/print-dialog.c +++ b/embed/print-dialog.c @@ -22,6 +22,7 @@ #include "print-dialog.h" #include "ephy-embed-dialog.h" #include "ephy-file-chooser.h" +#include "ephy-file-helpers.h" #include "ephy-stock-icons.h" #include "eel-gconf-extensions.h" #include "ephy-debug.h" @@ -330,7 +331,7 @@ ephy_print_dialog_new (GtkWidget *parent, } ephy_dialog_construct (dialog, print_props, - "print.glade", "print_dialog"); + ephy_file ("print.glade"), "print_dialog"); window = ephy_dialog_get_control (dialog, print_props[WINDOW_PROP].id); icon = gtk_widget_render_icon (window, @@ -359,7 +360,8 @@ ephy_print_setup_dialog_new (void) dialog = EPHY_DIALOG (g_object_new (EPHY_TYPE_DIALOG, NULL)); ephy_dialog_construct (dialog, setup_props, - "print.glade", "print_setup_dialog"); + ephy_file ("print.glade"), + "print_setup_dialog"); ephy_dialog_add_enum (dialog, setup_props[PAPER_PROP].id, n_paper_format_enum, paper_format_enum); |