From 1aa5a63dad335d4f05b65915bb553fb28192ab02 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 30 Nov 2003 14:08:32 +0000 Subject: Improved API and implementation of EphyDialog. Add support for new combo 2003-11-30 Christian Persch * configure.in: * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * embed/downloader-view.c: (downloader_view_build_ui): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_new_with_parent): * embed/ephy-encodings.c: (ephy_encodings_get_detectors): * embed/ephy-encodings.h: * embed/find-dialog.c: (update_navigation_controls), (set_properties), (impl_show), (find_dialog_class_init), (find_dialog_init), (find_dialog_new_with_parent): * embed/print-dialog.c: (impl_show), (print_dialog_init), (print_dialog_new_with_parent), (print_get_info): * lib/ephy-dialog.c: (ephy_dialog_get_type), (lookup_info), (set_sensitivity), (set_value_from_pref), (set_pref_from_value), (set_value_from_editable), (set_value_from_optionmenu), (set_value_from_combobox), (get_radio_button_active_index), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_editable_from_value), (get_index_from_value), (set_optionmenu_from_value), (compare_values), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_spin_button_from_value), (set_togglebutton_from_value), (set_info_from_value), (set_pref_from_info), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (spinbutton_changed_cb), (changed_cb), (set_info_from_pref), (connect_signals), (disconnect_signals), (init_props), (load_info), (save_info), (setup_default_size), (dialog_destroy_cb), (impl_construct), (impl_show), (ephy_dialog_set_modal), (ephy_dialog_add_enum), (ephy_dialog_set_data_column), (ephy_dialog_set_pref), (ephy_dialog_set_size_group), (ephy_dialog_construct), (ephy_dialog_show), (ephy_dialog_run), (ephy_dialog_get_control), (ephy_dialog_get_value), (ephy_dialog_set_value), (free_prop_info), (ephy_dialog_init), (ephy_dialog_dispose), (ephy_dialog_finalize), (ephy_dialog_set_parent), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init), (ephy_dialog_new), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * src/ephy-encoding-dialog.c: (sync_embed_cb), (sync_parent_window_cb), (activate_choice), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_new): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_pdm_dialog), (ephy_shell_get_prefs_dialog): * src/ephy-shell.h: * src/language-editor.c: (language_editor_get_type), (language_editor_class_init), (language_editor_update_pref), (language_editor_add_button_clicked_cb), (language_editor_set_view), (language_editor_init), (language_editor_new), (language_editor_set_model), (language_editor_add): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_show_help), (action_treeview_selection_changed_cb), (setup_action), (cookies_treeview_selection_changed_cb), (pdm_dialog_cookies_construct), (pdm_dialog_passwords_construct), (pdm_dialog_init), (show_cookies_properties): * src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_class_init), (prefs_dialog_show_help), (setup_font_combo), (fonts_language_combo_changed_cb), (create_fonts_language_menu), (create_node_combo), (language_combo_changed_cb), (create_language_menu), (get_download_button_label), (create_download_path_label), (prefs_dialog_init), (prefs_dialog_response_cb), (set_homepage_entry), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb), (download_path_response_cb), (prefs_download_path_button_clicked_cb): * src/prefs-dialog.h: * src/window-commands.c: (window_cmd_edit_prefs): Improved API and implementation of EphyDialog. Add support for new combo box, and removed optionmenu. Port all dialogues to new API and use combobox instead of optionmenus. --- data/glade/prefs-dialog.glade | 187 ++++++++++++++++-------------------------- 1 file changed, 69 insertions(+), 118 deletions(-) (limited to 'data/glade/prefs-dialog.glade') diff --git a/data/glade/prefs-dialog.glade b/data/glade/prefs-dialog.glade index 6953594ea..65f2eb942 100644 --- a/data/glade/prefs-dialog.glade +++ b/data/glade/prefs-dialog.glade @@ -2,6 +2,7 @@ + 5 @@ -11,6 +12,11 @@ False True False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST False @@ -33,6 +39,7 @@ gtk-help True GTK_RELIEF_NORMAL + True -11 @@ -45,6 +52,7 @@ gtk-close True GTK_RELIEF_NORMAL + True -7 @@ -204,6 +212,7 @@ Set to Current _Page True GTK_RELIEF_NORMAL + True @@ -216,6 +225,7 @@ Set to _Blank Page True GTK_RELIEF_NORMAL + True @@ -333,7 +343,7 @@ 0.5 0 0 - download_path_button + download_path_button 0 @@ -346,9 +356,13 @@ True True - True GTK_RELIEF_NORMAL - + True + + + + + 0 @@ -366,11 +380,11 @@ - False True Automatically open "safe" downloads True GTK_RELIEF_NORMAL + True False False True @@ -527,7 +541,6 @@ 0.5 0 0 - fonts_language_optionmenu 0 @@ -537,16 +550,8 @@ - + True - True - -1 - - - - True - - 0 @@ -617,7 +622,6 @@ 0.5 0 0 - combo-entry1 0 @@ -642,7 +646,6 @@ 0.5 0 0 - combo-entry5 0 @@ -654,84 +657,6 @@ - - - True - False - True - False - True - False - - - - True - True - False - True - 0 - - True - * - False - - - - - - True - GTK_SELECTION_BROWSE - - - - - 1 - 2 - 0 - 1 - - - - - - - True - False - True - False - True - False - - - - True - True - False - True - 0 - - True - * - False - - - - - - True - GTK_SELECTION_BROWSE - - - - - 1 - 2 - 1 - 2 - - - - True @@ -800,6 +725,32 @@ + + + + True + + + 1 + 2 + 0 + 1 + fill + + + + + + True + + + 1 + 2 + 1 + 2 + fill + + 0 @@ -822,6 +773,7 @@ Always use _these fonts True GTK_RELIEF_NORMAL + True False False True @@ -927,6 +879,7 @@ Al_ways use the desktop theme colors True GTK_RELIEF_NORMAL + True False False True @@ -1065,6 +1018,7 @@ Allow popup _windows True GTK_RELIEF_NORMAL + True False False True @@ -1083,6 +1037,7 @@ Enable _Java True GTK_RELIEF_NORMAL + True False False True @@ -1101,6 +1056,7 @@ Enable Java_Script True GTK_RELIEF_NORMAL + True False False True @@ -1200,6 +1156,7 @@ _Always accept True GTK_RELIEF_NORMAL + True False False True @@ -1218,6 +1175,7 @@ Only _from sites you visit True GTK_RELIEF_NORMAL + True False False True @@ -1237,6 +1195,7 @@ _Never accept True GTK_RELIEF_NORMAL + True False False True @@ -1355,7 +1314,7 @@ 0.5 0 0 - disk_cache_spin + disk_cache_spin 0 @@ -1430,6 +1389,7 @@ Cl_ear True GTK_RELIEF_NORMAL + True @@ -1587,7 +1547,6 @@ 0.5 0 0 - default_encoding_optionmenu 0 @@ -1597,10 +1556,8 @@ - + True - True - -1 0 @@ -1635,7 +1592,6 @@ 0.5 0 0 - auto_encoding_optionmenu 0 @@ -1645,16 +1601,8 @@ - + True - True - -1 - - - - True - - 0 @@ -1776,7 +1724,6 @@ 0.5 0 0 - language_optionmenu 0 @@ -1786,10 +1733,8 @@ - + True - True - -1 0 @@ -1803,9 +1748,10 @@ True True True - Mo_re... + _More... True GTK_RELIEF_NORMAL + True @@ -1894,6 +1840,11 @@ False True False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST False @@ -1915,6 +1866,7 @@ gtk-add True GTK_RELIEF_NORMAL + True 0 @@ -1927,6 +1879,7 @@ gtk-remove True GTK_RELIEF_NORMAL + True 0 @@ -1939,6 +1892,7 @@ gtk-close True GTK_RELIEF_NORMAL + True -7 @@ -1978,7 +1932,6 @@ 0.5 0 0 - languages_optionmenu 0 @@ -1988,10 +1941,8 @@ - + True - True - -1 0 -- cgit v1.2.3