diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-05-10 17:53:38 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-05-10 17:53:38 +0800 |
commit | 38f165dfad2c29b25f93efce2a29b1ea771615e8 (patch) | |
tree | 8b0160686bc36600db975b038ccc41b0b46c169f /src/prefs-dialog.h | |
parent | d5b2112c4a55235afdd91d15146a1a623eb5bec6 (diff) | |
download | gsoc2013-epiphany-38f165dfad2c29b25f93efce2a29b1ea771615e8.tar gsoc2013-epiphany-38f165dfad2c29b25f93efce2a29b1ea771615e8.tar.gz gsoc2013-epiphany-38f165dfad2c29b25f93efce2a29b1ea771615e8.tar.bz2 gsoc2013-epiphany-38f165dfad2c29b25f93efce2a29b1ea771615e8.tar.lz gsoc2013-epiphany-38f165dfad2c29b25f93efce2a29b1ea771615e8.tar.xz gsoc2013-epiphany-38f165dfad2c29b25f93efce2a29b1ea771615e8.tar.zst gsoc2013-epiphany-38f165dfad2c29b25f93efce2a29b1ea771615e8.zip |
Rework prefs dialog ui a bit. Remove jumpto and tabbed_popups prefs
2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org>
* data/epiphany.schemas.in:
* data/glade/prefs-dialog.glade:
* lib/ephy-prefs.h:
* src/Makefile.am:
* src/ephy-shell.c: (ephy_shell_new_window_cb):
* src/ephy-tab.c: (ephy_tab_new_window_cb):
* src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_new),
(prefs_dialog_show_help), (setup_font_menu), (save_font_menu),
(font_entry_changed_cb), (attach_font_signal),
(attach_fonts_signals), (size_spinbutton_changed_cb),
(attach_size_controls_signals), (setup_size_control),
(setup_size_controls), (setup_fonts),
(default_charset_menu_changed_cb), (find_charset_in_list_cmp),
(create_default_charset_menu), (general_prefs_new_language_menu),
(language_menu_changed_cb), (create_language_menu),
(set_homepage_entry), (prefs_dialog_init),
(prefs_dialog_response_cb),
(prefs_clear_disk_cache_button_clicked_cb),
(fonts_language_optionmenu_changed_cb),
(prefs_homepage_current_button_clicked_cb),
(prefs_homepage_blank_button_clicked_cb), (fill_language_editor),
(language_dialog_changed_cb),
(prefs_language_more_button_clicked_cb):
* src/prefs-dialog.h:
* src/window-commands.c: (window_cmd_edit_prefs):
Rework prefs dialog ui a bit. Remove jumpto and tabbed_popups
prefs (jumpto is still in the schemas.
Remove the crazy page by page separation in the code.
Diffstat (limited to 'src/prefs-dialog.h')
-rw-r--r-- | src/prefs-dialog.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/prefs-dialog.h b/src/prefs-dialog.h index 3c5528b2f..358886d10 100644 --- a/src/prefs-dialog.h +++ b/src/prefs-dialog.h @@ -19,7 +19,8 @@ #ifndef PREFS_DIALOG_H #define PREFS_DIALOG_H -#include <gtk/gtkdialog.h> +#include "ephy-dialog.h" + #include <glib-object.h> #include <glib.h> @@ -34,30 +35,19 @@ typedef struct PrefsDialogClass PrefsDialogClass; typedef struct PrefsDialogPrivate PrefsDialogPrivate; -typedef enum -{ - PREFS_PAGE_GENERAL, - PREFS_PAGE_APPEARANCE, - PREFS_PAGE_UI, - PREFS_PAGE_ADVANCED -} PrefsPageID; - struct PrefsDialog { - GtkDialog parent; + EphyDialog parent; PrefsDialogPrivate *priv; }; struct PrefsDialogClass { - GtkDialogClass parent_class; + EphyDialogClass parent_class; }; GType prefs_dialog_get_type (void); -GtkDialog *prefs_dialog_new (void); - -void prefs_dialog_show_page (PrefsDialog *pd, - PrefsPageID id); +EphyDialog *prefs_dialog_new (GtkWidget *parent); #endif |