aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't return a value in void function, part of bug #141319.Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_construct): Don't return a value in void function, part of bug #141319.
* Fix mem leak.Christian Persch2004-05-161-3/+7
| | | | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_value_from_editable), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_combo_box_from_value): Fix mem leak.
* Fix compilation with gcc 2.95.Christian Persch2004-05-121-1/+2
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_combo_box_from_value): Fix compilation with gcc 2.95.
* Fix font selection combo box issues; fixes bug #138560.Christian Persch2004-04-181-65/+85
| | | | | | | | | | | | | | | | 2004-04-18 Christian Persch <chpe@cvs.gnome.org> * configure.in: * lib/ephy-dialog.c: (set_value_from_editable), (set_value_from_combobox), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_combo_box_from_value), (set_pref_from_info_and_emit), (save_info), (ephy_dialog_get_value): * lib/ephy-dialog.h: * src/prefs-dialog.c: (setup_font_combo): Fix font selection combo box issues; fixes bug #138560.
* Make prefs, pdm and print setup dialogues transient to their parent. FixesChristian Persch2004-04-061-1/+9
| | | | | | | | | | | | | | 2004-04-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * lib/ephy-dialog.c: (ephy_dialog_get_parent): * lib/ephy-dialog.h: * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_edit_personal_data), (window_cmd_edit_prefs): Make prefs, pdm and print setup dialogues transient to their parent. Fixes bug #139124.
* Always connect signals, not just for PT_AUTOAPPLY props.Christian Persch2004-02-221-3/+0
| | | | | | | | 2004-02-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (connect_signals): Always connect signals, not just for PT_AUTOAPPLY props.
* Don't set entries insensitive, only set the non-editable when the gconfChristian Persch2004-02-131-0/+4
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_sensitivity): Don't set entries insensitive, only set the non-editable when the gconf key isn't writable.
* Correct a translator name.Marco Pesenti Gritti2004-01-261-42/+46
| | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * NEWS: Correct a translator name. * embed/mozilla/ContentHandler.cpp: Really cancel the download when the user told so. * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_run), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add default width/height properties.
* Fix mem leaks.Christian Persch2004-01-251-3/+2
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_value_from_pref), (set_combo_box_from_value): Fix mem leaks.
* Prepare for 1.1.5Marco Pesenti Gritti2004-01-251-3/+10
| | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * configure.in: Prepare for 1.1.5 * lib/ephy-dialog.c: (setup_default_size): Fix a bug with downloader dialog size persistance
* Add a persist-position property.Marco Pesenti Gritti2004-01-241-1/+21
| | | | | | | | | | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add a persist-position property. * embed/downloader-view.c: (downloader_view_new): Persist downloader position. * src/prefs-dialog.c: (get_download_button_label): * embed/mozilla/MozDownload.cpp: * data/epiphany.schemas.in: Default to ~/Desktop/Downloads.
* Allow passing the translation domain to ephy_dialog_construct, to makeChristian Persch2004-01-241-5/+8
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * lib/ephy-dialog.c: (impl_construct), (ephy_dialog_construct): * lib/ephy-dialog.h: * lib/ephy-glade.c: (ephy_glade_widget_new): * lib/ephy-glade.h: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Allow passing the translation domain to ephy_dialog_construct, to make extension's dialogues translatable. Fix all callers.
* Introduce ephy_dialog_hide().Christian Persch2004-01-191-0/+9
| | | | | | | | | 2004-01-18 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_hide): * lib/ephy-dialog.h: Introduce ephy_dialog_hide().
* Split print dialogue in print setup and actual print, and move printChristian Persch2003-12-071-89/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-07 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * data/ui/epiphany-ui.xml: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_info_free), (ephy_print_get_print_info), (ephy_print_dialog_response_cb), (print_filechooser_response_cb), (ephy_print_dialog_browse_button_cb), (ephy_print_setup_dialog_close_button_cb), (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * embed/print-dialog.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_new_component), (gnv_cmd_file_print): * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_class_init), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_session), (ephy_shell_get_bookmarks), (ephy_shell_get_toolbars_model), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window), (ephy_shell_get_print_setup_dialog), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_set_print_preview), (ephy_window_print): * src/ephy-window.h: * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_file_print_preview): * src/window-commands.h: Split print dialogue in print setup and actual print, and move print preview into the menus too. Made print setup a global dialogue, print a per-window dialogue. * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_combobox), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_pref_from_info_and_emit), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb), (init_props), (load_info), (save_info), (impl_show), (ephy_dialog_set_size_group), (ephy_dialog_construct), (run_response_cb), (ephy_dialog_run), (ephy_dialog_set_parent), (ephy_dialog_class_init), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * src/language-editor.c: (language_editor_class_init): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (fonts_language_changed_cb), (create_fonts_language_menu), (prefs_dialog_init), (prefs_language_more_button_clicked_cb): Slight api change; port callers.
* Set sensitivity from gconf key writability, and do it right.Christian Persch2003-12-031-4/+1
| | | | | | | | 2003-12-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_info_from_pref): Set sensitivity from gconf key writability, and do it right.
* Remove gtkoptionmenu.h include.Christian Persch2003-12-011-1/+0
| | | | | | | | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: Remove gtkoptionmenu.h include. * src/language-editor.c: (language_editor_add): * src/prefs-dialog.c: (create_language_menu): Make languages list unique; don't allow to add an entry already in the list.
* Readd gtk deprecates (only in maintainer mode).Marco Pesenti Gritti2003-11-301-65/+1
| | | | | | | | | | | | | | | | | | | | | 2003-11-30 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Readd gtk deprecates (only in maintainer mode). * src/ephy-location-action.c: (sync_editable): Use not deprecated api. * lib/ephy-dialog.c: (set_value_from_info), (set_info_from_value), (connect_signals), (init_props): Remove optionmenu deprecated control.
* Forgot even moreChristian Persch2003-11-301-735/+937
|
* Make encodings dialogue transient.Christian Persch2003-11-191-0/+2
| | | | | | | | | | | 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_set_parent): * src/ephy-encoding-dialog.c: (sync_parent_window_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new): Make encodings dialogue transient.
* Only allow choosing "Selection" if there really is one.Christian Persch2003-11-051-10/+2
| | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/print-dialog.c: (impl_show), (print_dialog_class_init), (print_dialog_new), (print_dialog_new_with_parent), (print_dialog_print), (print_dialog_preview), (print_cancel_button_cb), (print_preview_button_cb): Only allow choosing "Selection" if there really is one. * lib/ephy-dialog.c: (impl_run): Use ephy_dialog_show() when running an EphyDialog.
* Initialise the dialogue on run too.Christian Persch2003-11-031-0/+8
| | | | | | | | 2003-11-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (impl_run): Initialise the dialogue on run too.
* Reenable deprecated api where necessary, fixup some header inclusions.Marco Pesenti Gritti2003-10-111-67/+1
| | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-single.cpp: * lib/Makefile.am: * lib/ephy-dialog.c: (get_pref_type_from_widget), (prefs_connect_signals), (load_props), (save_props): * lib/ephy-gui.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-topic-action.c: * src/ephy-history-window.c: Reenable deprecated api where necessary, fixup some header inclusions. Remove unused color picker control in ephy-dialog. Remove unused file types optionmenu in Filepicker.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-12/+10
|
* Make sure props are saved when destroyed.Marco Pesenti Gritti2003-08-021-8/+21
| | | | | | | | | | 2003-08-02 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_dispose), (ephy_dialog_class_init), (ephy_dialog_init), (ephy_dialog_finalize), (dialog_destroy_cb): Make sure props are saved when destroyed.
* Use connect_object for the dialog destroy signal, so we dont unref theMarco Pesenti Gritti2003-07-201-4/+4
| | | | | | | | | 2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dialog.c: (impl_construct): Use connect_object for the dialog destroy signal, so we dont unref the EphyDialog object two times.
* Rework find implementation to integrate better with type ahead and toMarco Pesenti Gritti2003-07-201-39/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed.c: (ephy_embed_find_set_properties), (ephy_embed_find_next): * embed/ephy-embed.h: * embed/find-dialog.c: (update_navigation_controls), (impl_show), (find_dialog_class_init), (set_properties), (sync_page_change), (sync_embed), (find_dialog_init), (find_dialog_finalize), (find_dialog_go_next), (find_dialog_go_prev), (find_close_button_clicked_cb), (find_next_button_clicked_cb), (find_prev_button_clicked_cb), (find_entry_changed_cb), (find_check_toggled_cb): * embed/find-dialog.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-dialog.h: * src/ephy-window.c: (ephy_window_find): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find), (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Rework find implementation to integrate better with type ahead and to simplify the code. Do not try to set menus sensitivity because mozilla doesnt provide an api for it and it breaks with type ahead. * lib/ephy-dialog.c: (ephy_dialog_class_init), (ephy_dialog_finalize), (dialog_destroy_cb), (impl_construct), (ephy_dialog_construct): Remove no more used destruct crap.
* Use the browser icon from gnome icon theme. Get rid of cache comparingMarco Pesenti Gritti2003-07-021-0/+22
| | | | | | | | | | | | | | | | | | | | | 2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.desktop.in: * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_size_group): * lib/ephy-dialog.h: * src/ephy-main.c: (main): * src/prefs-dialog.c: (prefs_dialog_init), (prefs_homepage_blank_button_clicked_cb), (fill_language_editor): * src/window-commands.c: (window_cmd_help_about): Use the browser icon from gnome icon theme. Get rid of cache comparing prefs and rehash prefs pages to make them more specific.
* Correct translations dir (leftover from galeon)Marco Pesenti Gritti2003-06-231-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Correct translations dir (leftover from galeon) * embed/ephy-history.c: Lower expire to 10 days, similar to phoenix. Current interface and perf make this a better default. * lib/ephy-dialog.c: (ephy_dialog_init), (setup_default_size): Make sure to not state_add more than one time * lib/widgets/ephy-location-entry.c: (insert_text_cb): Do not show autocompletion on not focused window. This is to work around problems with gnome-entry. * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup), (tab_context_menu_cb): Do not use custom func to show mouse popups. Fix costum func to be smarter with screen limits.
* s/snprintf/g_snprintf to not break gcc 2.95Marco Pesenti Gritti2003-06-171-1/+1
| | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (set_config_from_color): * src/ephy-tabs-menu.c: (tab_set_action_accelerator): * src/prefs-dialog.c: (setup_font_menu), (save_font_menu), (size_spinbutton_changed_cb), (setup_size_control): * src/session.c: (session_save): s/snprintf/g_snprintf to not break gcc 2.95
* Merge with popup control, we dont need it for bonobo window anymore.Marco Pesenti Gritti2003-06-161-9/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/Makefile.am: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_get_type), (ephy_embed_popup_control_set_property), (ephy_embed_popup_control_get_property), (ephy_embed_popup_control_class_init), (ephy_embed_popup_control_init), (ephy_embed_popup_control_finalize), (get_popup_path), (ephy_embed_popup_control_show), (setup_element_menu), (setup_document_menu), (ephy_embed_popup_control_set_event), (ephy_embed_popup_control_connect_verbs), (ephy_embed_popup_control_get_event), (embed_popup_copy_location_cmd), (embed_popup_copy_email_cmd), (embed_popup_copy_link_location_cmd), (save_property_url), (embed_popup_open_link_cmd), (embed_popup_download_link_cmd), (embed_popup_save_image_as_cmd), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd), (save_url), (embed_popup_save_page_as_cmd), (embed_popup_save_background_as_cmd), (embed_popup_open_frame_cmd), (embed_popup_reload_frame_cmd), (embed_popup_open_image_cmd), (embed_popup_copy_to_clipboard): * embed/ephy-embed-popup-control.h: Merge with popup control, we dont need it for bonobo window anymore. * embed/mozilla/mozilla-embed-single.cpp: Do not override the UA but set vendor prefs so that mozilla can build it correctly. * lib/ephy-dialog.c: (get_radio_button_active_index), (set_config_from_radiobuttongroup), (set_radiobuttongroup_from_config), (prefs_set_group_sensitivity), (impl_get_value): * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * lib/ephy-gui.c: * lib/ephy-gui.h: * lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int), (ephy_string_strip_chr), (ephy_string_elide_underscores): * lib/ephy-string.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_context_menu_cb), (gnv_embed_location_cb), (gnv_view_from_popup), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window), (gnv_popup_cmd_frame_in_new_window), (gnv_cmd_file_print), (gnv_embed_zoom_change_cb):
* Handle NULL return from eel_gconf_get_string. Oh, and fix yet another memChristian Persch2003-06-141-27/+26
| | | | | | | | | | 2003-06-13 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (get_index), (set_optionmenu_from_config), (set_radiobuttongroup_from_config): Handle NULL return from eel_gconf_get_string. Oh, and fix yet another mem leak.
* Add support for string enums.Marco Pesenti Gritti2003-06-131-52/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix mem leak.Christian Persch2003-06-071-2/+3
| | | | | | | | | 2003-06-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (impl_get_value): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): Fix mem leak.
* Add some flags so that we can choose to save position or size or both.David Bordoley2003-05-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 David Bordoley <bordoley@msu.edu> * lib/ephy-state.c: (ephy_state_add_window): * lib/ephy-state.h: (EphyStateWindowFlags): Add some flags so that we can choose to save position or size or both. * lib/ephy-dialog.c: (setup_default_size): * src/ephy-window.c: (ephy_window_show): * src/window-commands.c: (window_cmd_edit_toolbar): * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): Only save size for dialogs and main windows. * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Save size and position.
* Reimplement ephystate using xml and make it easier to use. -> remove someMarco Pesenti Gritti2003-03-191-17/+2
| | | | | | | | | | | | | | | | | | | | 2003-03-18 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dialog.c: (setup_default_size): * lib/ephy-state.c: (ephy_states_load), (ephy_states_save), (find_by_name), (ensure_states), (ephy_state_window_set_size), (ephy_state_window_save_size), (window_configure_event_cb), (window_state_event_cb), (ephy_state_add_window), (ephy_state_save): * lib/ephy-state.h: * lib/ephy-types.h: * src/ephy-shell.c: (ephy_shell_finalize): * src/ephy-window.c: (setup_window), (ephy_window_init), (ephy_window_show): * src/prefs-dialog.c: (prefs_dialog_init): Reimplement ephystate using xml and make it easier to use. -> remove some duplicate code
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+943