diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-13 20:46:09 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-13 20:46:09 +0800 |
commit | b47075448a59c1419cc21ac8104a58d549962ce6 (patch) | |
tree | 4a27993881f98b9f97559982b78721b364495566 /embed/print-dialog.c | |
parent | 52c6654061e8bd5c8607defd279fa77dfb3dfb87 (diff) | |
download | gsoc2013-epiphany-b47075448a59c1419cc21ac8104a58d549962ce6.tar gsoc2013-epiphany-b47075448a59c1419cc21ac8104a58d549962ce6.tar.gz gsoc2013-epiphany-b47075448a59c1419cc21ac8104a58d549962ce6.tar.bz2 gsoc2013-epiphany-b47075448a59c1419cc21ac8104a58d549962ce6.tar.lz gsoc2013-epiphany-b47075448a59c1419cc21ac8104a58d549962ce6.tar.xz gsoc2013-epiphany-b47075448a59c1419cc21ac8104a58d549962ce6.tar.zst gsoc2013-epiphany-b47075448a59c1419cc21ac8104a58d549962ce6.zip |
Add support for string enums.
2003-06-13 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-dialog.c: (set_config_from_editable),
(set_config_from_optionmenu), (set_config_from_radiobuttongroup),
(set_config_from_spin_button), (set_config_from_togglebutton),
(set_config_from_color), (set_editable_from_config),
(set_optionmenu_from_config), (set_radiobuttongroup_from_config),
(set_spin_button_from_config), (set_togglebutton_from_config),
(set_color_from_config), (prefs_togglebutton_clicked_cb),
(prefs_radiobutton_clicked_cb), (prefs_spinbutton_timeout_cb),
(prefs_color_changed_cb), (prefs_entry_changed_cb),
(prefs_optionmenu_selected_cb), (ephy_dialog_init), (load_props),
(save_props), (free_props), (ephy_dialog_finalize),
(ephy_dialog_add_enum), (init_props), (impl_construct),
(impl_show):
Add support for string enums.
* lib/ephy-dialog.h:
* lib/ephy-prefs.h:
* src/prefs-dialog.c: (prefs_dialog_init):
* data/epiphany.schemas.in:
* embed/downloader-view.c:
* embed/ephy-embed-prefs.h:
* embed/find-dialog.c:
* embed/mozilla/mozilla-embed-single.cpp:
* embed/mozilla/mozilla-notifiers.cpp:
* embed/print-dialog.c:
* lib/Makefile.am:
Cleanup gconf prefs. This breaks compatibility
but better now that later.
Diffstat (limited to 'embed/print-dialog.c')
-rwxr-xr-x | embed/print-dialog.c | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/embed/print-dialog.c b/embed/print-dialog.c index 4a19c7571..2ba9ca348 100755 --- a/embed/print-dialog.c +++ b/embed/print-dialog.c @@ -21,22 +21,21 @@ #include <gtk/gtkdialog.h> #include <gtk/gtkstock.h> -#define CONF_PRINT_BOTTOM_MARGIN "/apps/epiphany/print/bottom_margin" -#define CONF_PRINT_TOP_MARGIN "/apps/epiphany/print/top_margin" -#define CONF_PRINT_LEFT_MARGIN "/apps/epiphany/print/left_margin" -#define CONF_PRINT_RIGHT_MARGIN "/apps/epiphany/print/right_margin" -#define CONF_PRINT_PAGE_TITLE "/apps/epiphany/print/page_title_toggle" -#define CONF_PRINT_PAGE_URL "/apps/epiphany/print/page_url_toggle" -#define CONF_PRINT_DATE "/apps/epiphany/print/date_toggle" -#define CONF_PRINT_PAGE_NUMBERS "/apps/epiphany/print/page_numbers_toggle" -#define CONF_PRINT_PRINTER "/apps/epiphany/print/printer" -#define CONF_PRINT_FILE "/apps/epiphany/print/file" -#define CONF_PRINT_PRINTON "/apps/epiphany/print/printon" -#define CONF_PRINT_PAPER "/apps/epiphany/print/paper" -#define CONF_PRINT_ALL_PAGES "/apps/epiphany/print/all_pages" -#define CONF_PRINT_START_FROM_LAST "/apps/epiphany/print/start_from_last" -#define CONF_PRINT_COLOR "/apps/epiphany/print/color" -#define CONF_PRINT_ORIENTATION "/apps/epiphany/print/orientation" +#define CONF_PRINT_BOTTOM_MARGIN "/apps/epiphany/dialogs/print_bottom_margin" +#define CONF_PRINT_TOP_MARGIN "/apps/epiphany/dialogs/print_top_margin" +#define CONF_PRINT_LEFT_MARGIN "/apps/epiphany/dialogs/print_left_margin" +#define CONF_PRINT_RIGHT_MARGIN "/apps/epiphany/dialogs/print_right_margin" +#define CONF_PRINT_PAGE_TITLE "/apps/epiphany/dialogs/print_page_title" +#define CONF_PRINT_PAGE_URL "/apps/epiphany/dialogs/print_page_url" +#define CONF_PRINT_DATE "/apps/epiphany/dialogs/print_date" +#define CONF_PRINT_PAGE_NUMBERS "/apps/epiphany/dialogs/print_page_numbers" +#define CONF_PRINT_PRINTER "/apps/epiphany/dialogs/print_printer" +#define CONF_PRINT_FILE "/apps/epiphany/dialogs/print_file" +#define CONF_PRINT_PRINTON "/apps/epiphany/dialogs/print_on" +#define CONF_PRINT_PAPER "/apps/epiphany/dialogs/print_paper" +#define CONF_PRINT_ALL_PAGES "/apps/epiphany/dialogs/print_all_pages" +#define CONF_PRINT_COLOR "/apps/epiphany/dialogs/print_color" +#define CONF_PRINT_ORIENTATION "/apps/epiphany/dialogs/print_orientation" static void print_dialog_class_init (PrintDialogClass *klass); static void print_dialog_init (PrintDialog *dialog); |