aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-10 17:53:38 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-10 17:53:38 +0800
commit38f165dfad2c29b25f93efce2a29b1ea771615e8 (patch)
tree8b0160686bc36600db975b038ccc41b0b46c169f /src/window-commands.c
parentd5b2112c4a55235afdd91d15146a1a623eb5bec6 (diff)
downloadgsoc2013-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/window-commands.c')
-rw-r--r--src/window-commands.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index a64305efe..5d50f6e05 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -633,14 +633,10 @@ void
window_cmd_edit_prefs (EggAction *action,
EphyWindow *window)
{
- GtkDialog *dialog;
+ EphyDialog *dialog;
- dialog = prefs_dialog_new ();
- prefs_dialog_show_page (PREFS_DIALOG(dialog),
- PREFS_PAGE_GENERAL);
- gtk_window_set_transient_for (GTK_WINDOW (dialog),
- GTK_WINDOW (window));
- gtk_widget_show (GTK_WIDGET(dialog));
+ dialog = prefs_dialog_new (GTK_WIDGET (window));
+ ephy_dialog_show (dialog);
}
static void