aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
Commit message (Collapse)AuthorAgeFilesLines
* A src/languages.h:Christian Persch2005-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | 2005-05-01 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/epiphany.schemas.in: * lib/ephy-langs.c: A src/languages.h: * src/prefs-dialog.c: (prefs_dialog_show_help), (create_language_section), (get_download_button_label), (prefs_dialog_init): Add more font languages, and generate the language list from the unicode supplemental data. * lib/ephy-dialog.c: * lib/ephy-dialog.h: * src/prefs-dialog.c: Constification.
* Some sparse fixes.Christian Persch2005-01-311-5/+5
| | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_new): * lib/ephy-dialog.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): * src/ephy-link.c: (ephy_link_open): * src/ephy-statusbar.c: (create_statusbar_security_icon): * src/ephy-window.c: * src/prefs-dialog.c: (get_download_button_label): Some sparse fixes.
* Fix mem leak. Fixes bug #164302.Christian Persch2005-01-191-0/+2
| | | | | | | | 2005-01-18 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_set_size_group): Fix mem leak. Fixes bug #164302.
* Prefix class structs with '_' so that the python code generator finds it.Crispin Flowerday2005-01-041-1/+1
| | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-dialog.c: * lib/ephy-dialog.h: Prefix class structs with '_' so that the python code generator finds it.
* Forgot to commit thisChristian Persch2004-12-211-0/+3
|
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Print dialogue isn't an EphyEmbedDialog anymore, remove theChristian Persch2004-10-281-2/+0
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_new): Print dialogue isn't an EphyEmbedDialog anymore, remove the
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-281-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE.
* Chain up to parent's dispose handler.Christian Persch2004-10-241-0/+2
| | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (mozilla_embed_single_dispose): * lib/ephy-dialog.c: (ephy_dialog_dispose): * src/ephy-session.c: (ephy_session_dispose): Chain up to parent's dispose handler.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* Add varargs version of ephy_dialog_get_control to get more than oneChristian Persch2004-10-221-0/+25
| | | | | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_get_controls): * lib/ephy-dialog.h: Add varargs version of ephy_dialog_get_control to get more than one control at a time. * embed/downloader-view.c: (downloader_view_build_ui): * src/pdm-dialog.c: (pdm_dialog_show_help), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_dialog_show_help), (setup_add_language_dialog), (create_language_section), (prefs_dialog_init): Use that.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-111-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-10 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_printer_list): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_new): * lib/ephy-dialog.c: (set_combo_box_from_value): Move current MozillaPrivate helpers to EphyUtils. Use MozillaPrivate for stuff that needs mozilla internal strings. Support multiple printers in the print dialog. This is actually a bug fix because on several distributions using hardcoded Poscript/default will simply not work at all.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-10-08 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (setup_default_size): * lib/ephy-state.c: (create_window_node), (ephy_state_add_window): * lib/ephy-state.h: * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-window.c: (ephy_window_show): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_edit_toolbar): Allow to set the default window state to maximize. Default to maximize for the browser window.
* Initialise position passed to gtk_editable_insert_text().Christian Persch2004-09-231-1/+1
| | | | | | | | 2004-09-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_editable_from_value): Initialise position passed to gtk_editable_insert_text().
* Set sane_state to TRUE from user changes, otherwise broken prefs willChristian Persch2004-06-291-0/+8
| | | | | | | | | | 2004-06-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb): Set sane_state to TRUE from user changes, otherwise broken prefs will never get overwritten.
* 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