aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Set a default height/width for the dialog.David Bordoley2004-02-051-0/+2
| | | | | | | | 2004-02-04 David Bordoley <bordoley@msu.edu> * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_new): Set a default height/width for the dialog.
* David Bordoley <bordoley@msu.edu>Biggest Flake Ever2004-02-051-0/+2
| | | | | | | | | | | 2004-02-04 Biggest Flake Ever <flake@whataflake.com> David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_new): * src/prefs-dialog.c: (setup_add_language_dialog): Use a default width/height for dialogs with tree views that don't have a fixed requisition.
* Use title capitalisation for title.Piers Cornwell2004-02-041-1/+1
| | | | | | | | 2004-02-04 Piers Cornwell <piers@cvs.gnome.org> * src/ephy-history-window.c: (confirmation_dialog_construct): Use title capitalisation for title.
* Decouple extensions manager initialisation and extensions loading. Fixes aChristian Persch2004-02-023-4/+9
| | | | | | | | | | | | 2004-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_init): * src/ephy-extensions-manager.h: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Decouple extensions manager initialisation and extensions loading. Fixes a crash when an extensions tried to get the session, causing us to load extensions more than once.
* Obvious typo fixAdam Hooper2004-01-311-1/+1
|
* Fix property getter of "icon" property.Christian Persch2004-01-291-2/+2
| | | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-favicon-action.c: (ephy_favicon_action_set_property), (ephy_favicon_action_get_property): Fix property getter of "icon" property.
* Don't crash when reading the RDF file fails.Christian Persch2004-01-292-3/+11
| | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_rdf): Don't crash when reading the RDF file fails.
* Use rdf:resource instead of rdf:about, fixes bug #131543.Christian Persch2004-01-291-1/+1
| | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Use rdf:resource instead of rdf:about, fixes bug #131543.
* Sync topic names in the menu. Fixes bug #128097.Christian Persch2004-01-291-19/+60
| | | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (sync_topic_properties), (topic_child_changed_cb), (ephy_bookmarks_menu_init): Sync topic names in the menu. Fixes bug #128097.
* Fix options parsing.Christian Persch2004-01-291-15/+23
| | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url), (options_find_first_option), (smart_url_options_get): Fix options parsing.
* Use EPHY_STOCK_DOWNLOAD for the download link icon.David Bordoley2004-01-291-1/+1
| | | | | | | | 2004-01-28 David Bordoley <bordoley@msu.edu> * src/ephy-window.c: Use EPHY_STOCK_DOWNLOAD for the download link icon.
* Fix linking with nautilus view enabled.Christian Persch2004-01-281-1/+1
| | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: Fix linking with nautilus view enabled.
* Check for required libnautilus version, and conditionally enable nautilusChristian Persch2004-01-281-0/+8
| | | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * configure.in: * src/Makefile.am: Check for required libnautilus version, and conditionally enable nautilus view.
* Fix mem leak.Christian Persch2004-01-261-0/+2
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_file_print_preview): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-261-0/+1
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (get_details_value): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-261-1/+7
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Fix mem leak.
* Fix mem leaks.Christian Persch2004-01-261-2/+1
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_search_cb), (get_details_value): Fix mem leaks.
* Fix mem leak.Christian Persch2004-01-261-9/+5
| | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-251-1/+3
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (tab_set_action_accelerator): Fix mem leak.
* Fix mem leaks.Christian Persch2004-01-251-0/+3
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_save): Fix mem leaks.
* Add a way to get the downloads dir with a comment for translators. Use dirMarco Pesenti Gritti2004-01-252-10/+9
| | | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_downloads_dir): * lib/ephy-file-helpers.h: Add a way to get the downloads dir with a comment for translators. Use dir instead of directory consistently with the other functions. * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): * src/window-commands.c: (save_temp_source): Use the helper.
* Updated copyright date.Christian Persch2004-01-251-2/+2
| | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Updated copyright date.
* Double underscores, since otherwise the menu entry will display them asChristian Persch2004-01-251-2/+4
| | | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_title): Double underscores, since otherwise the menu entry will display them as accellerators.
* Add a hidden tools menu that extensions can use.David Bordoley2004-01-251-0/+1
| | | | | | | | | 2004-01-24 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-ui.xml: * src/ephy-window.c: Add a hidden tools menu that extensions can use.
* Make ephy_file_tmp_directory() return a const char * instead of a char *Adam Hooper2004-01-251-1/+1
|
* Fall back to Home directory when the pref is NULL.Christian Persch2004-01-241-0/+6
| | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (get_download_button_label): Fall back to Home directory when the pref is NULL.
* Add a persist-position property.Marco Pesenti Gritti2004-01-241-2/+6
| | | | | | | | | | | | | | | | | | | | 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.
* Sometimes reading gnomedesktop flames is useful:Marco Pesenti Gritti2004-01-242-2/+2
| | | | | | | | | | | | | | 2004-01-23 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): * src/popup-commands.c: (save_property_url): Sometimes reading gnomedesktop flames is useful: Do not use the same pref of 1.0 for the download dir. Use a different key for Save Link As.
* Allow passing the translation domain to ephy_dialog_construct, to makeChristian Persch2004-01-243-7/+13
| | | | | | | | | | | | | | | | | | | | | 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.
* Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified theChristian Persch2004-01-231-1/+1
| | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/window-commands.c: (window_cmd_view_reload): Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified the handling in mozilla-embed by introducing EMBED_RELOAD_FORCE, and killed EMBED_RELOAD_BYPASS_[CACHE|PROXY] since we now always use both together.
* data: urls can be opened in new tabs too.Christian Persch2004-01-231-0/+1
| | | | | | | | | 2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): data: urls can be opened in new tabs too.
* New function to get temp directory and moved ephy_shell_delete_on_exit toChristopher James Lahey2004-01-233-25/+13
| | | | | | | | | | | | | | | | | | 2004-01-22 Christopher James Lahey <clahey@ximian.com> * lib/ephy-file-helpers.c, lib/ephy-file-helpers.h (ephy_file_tmp_directory, ephy_file_delete_on_exit): New function to get temp directory and moved ephy_shell_delete_on_exit to here. * lib/widgets/ephy-location-entry.c: Changed how this goes about showing itself when hidden and activated. * src/ephy-shell.c, src/ephy-shell.h (ephy_shell_delete_on_exit): Moved to ephy_file_delete_on_exit. * src/window-commands.c: Changed ephy_shell_delete_on_exit to ephy_file_delete_on_exit. Used ephy_file_tmp_directory to save source files for viewing in a directory that isn't world readable.
* *** empty log message ***Marco Pesenti Gritti2004-01-221-2/+2
|
* Call ephy_file() explicitly for each glade file, letting extensions load ↵Adam Hooper2004-01-223-4/+8
| | | | glade files from any path
* Set "tooltip" property on bookmark actions to the url. That way we displayChristian Persch2004-01-211-4/+23
| | | | | | | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_class_init): Set "tooltip" property on bookmark actions to the url. That way we display it in the status bar with no extra steps taken.
* about: can be opened in new tab too.Christian Persch2004-01-211-0/+1
| | | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): about: can be opened in new tab too.
* Add a way to store paths.Marco Pesenti Gritti2004-01-191-18/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-19 Marco Pesenti Gritti <marco@gnome.org> * lib/eel-gconf-extensions.c: (tilde_compress), (eel_gconf_set_path): * lib/eel-gconf-extensions.h: Add a way to store paths. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Actually save the file in downloads dir and then open it. It doesnt seem to open it but it's prolly a gnome-vfs bug. * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Simplify the label logic using ~.
* *** empty log message ***Marco Pesenti Gritti2004-01-191-1/+9
|
* Use g_signal_connect_object to connect the embed signals, that way they'reChristian Persch2004-01-171-42/+42
| | | | | | | | | | | 2004-01-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Use g_signal_connect_object to connect the embed signals, that way they're disconnected before the tab object is finalised. Should fix crasher bug #131635.
* Use gtk_file_chooser_get_filename() instead ofChristian Persch2004-01-171-1/+1
| | | | | | | | | 2004-01-16 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (download_path_response_cb): Use gtk_file_chooser_get_filename() instead of gtk_file_chooser_get_current_folder(). Fixes bug #131646.
* Show help for menu items in the statusbar.Christian Persch2004-01-161-0/+66
| | | | | | | | | | 2004-01-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (menu_item_select_cb), (menu_item_deselect_cb), (disconnect_proxy_cb), (connect_proxy_cb), (setup_ui_manager), (ephy_window_init): Show help for menu items in the statusbar.
* Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. PortChristian Persch2004-01-162-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_base_init), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (popup_menu_at_coords): * src/popup-commands.c: (popup_cmd_copy_link_address): Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. Port callers to the new api. Fix some callers in src/ which were using private fields of EphyEmbedEvent struct.
* Forgot to commit those.Christian Persch2004-01-131-1/+2
| | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): Forgot to commit those.
* Only allow "Open in New Tab/Window" for certain protocols.Christian Persch2004-01-131-1/+6
| | | | | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): * src/ephy-window.c: (show_embed_popup): Only allow "Open in New Tab/Window" for certain protocols.
* Fix signal parameter, and add a NULL check. Fixes bug #131117, patch byChristian Persch2004-01-111-1/+3
| | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_exit_fullscreen_popup_position), (ephy_window_fullscreen): Fix signal parameter, and add a NULL check. Fixes bug #131117, patch by Martin Kretzschmar.
* Implement print and print setup disabling for lockdown mode.Christopher James Lahey2004-01-112-0/+55
| | | | | | | | | | | | 2004-01-10 Christopher James Lahey <clahey@ximian.com> * embed/mozilla/PrintingPromptService.cpp: * lib/ephy-prefs.h: * src/ephy-main.c: (main): * src/ephy-window.c: (update_actions), (ephy_window_init), (ephy_window_finalize), (ephy_window_print): Implement print and print setup disabling for lockdown mode.
* Implement history disabling.Christian Persch2004-01-111-0/+42
| | | | | | | | | | | | | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_get_type), (ephy_history_set_enabled), (ephy_history_set_property), (ephy_history_get_property), (ephy_history_class_init), (page_removed_from_host_cb), (disable_history_notifier), (ephy_history_init), (ephy_history_finalize), (ephy_history_new), (ephy_history_get_host), (ephy_history_visited), (ephy_history_add_page), (ephy_history_set_page_title), (ephy_history_clear), (ephy_history_is_enabled): * embed/ephy-history.h: * lib/ephy-node-db.c: (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_set_immutable): * lib/ephy-node-db.h: * lib/ephy-prefs.h: * src/bookmarks/ephy-bookmarks.c: (clear_favorites), (history_cleared_cb), (ephy_setup_history_notifiers): Implement history disabling.
* Forgot thisChristian Persch2004-01-111-0/+2
|
* Added disable_arbitrary_url, disable_toolbar_editing, and disable_historyChristopher James Lahey2004-01-105-12/+78
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-09 Christopher James Lahey <clahey@ximian.com> * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_arbitrary_url, disable_toolbar_editing, and disable_history keys. * src/ephy-automation.c (impl_ephy_automation_loadurl): Make this ignore a url given on the command line if disable_arbitrary_url is on. * src/ephy-notebook.c (notebook_drag_data_received_cb): Made this ignore drags if disable_arbitrary_url is on. * src/ephy-session.c (ephy_session_load): Don't show history window if disable_history is on. * src/ephy-tab.c (ephy_tab_dom_mouse_click_cb): Disable middle click to paste url if disable_arbitrary_url is on. * src/ephy-window.c: Disable menu actions based on disable_arbitrary_url, disable_toolbar_editing, and disable_history keys.
* Add "Download Link As" to the link context menu.Xan Lopez2004-01-103-0/+12
| | | | | | | | | * data/ui/epiphany-ui.xml: * src/ephy-window.c: * src/popup-commands.c: (popup_cmd_download_link_as): * src/popup-commands.h: Add "Download Link As" to the link context menu.
* Check if embed is valid here.92004-01-101-3/+6
| | | | | | | 2004-01-09 <clahey@ximian.com> * src/toolbar.c (update_location_editable): Check if embed is valid here.
* Added disable_bookmark_editing key.Chris Lahey2004-01-106-13/+96
| | | | | | | | | | | | | | | | | | | | | | * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_bookmark_editing key. * lib/ephy-node-db.c, ephy-node-db.h, ephy-node.c: Added immutable property. * lib/egg/egg-editable-toolbar.c (drag_data_received_cb, toolbar_drag_motion_cb), src/ephy-toolbars-model.c (impl_get_item_id): Made these handle immutable models/node_dbs. * src/ephy-automation.c, src/ephy-session.c: Don't show the bookmark editor if disabled. * src/ephy-window.c: Disable a bunch of menus if bookmark editing is disabled. * src/bookmarks/ephy-bookmarks-import.c, src/bookmarks/ephy-bookmarks.c: Disable bookmark editing and importing is key is set. Uses immutable property.
* Add an accellerator-only action (F7) to toggle caret browsing. Hook upChristian Persch2004-01-093-1/+39
| | | | | | | | | | | | | | | | | 2004-01-09 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-ui.xml: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-window.c: (ephy_window_finalize), (browse_with_caret_notifier), (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_browse_with_caret): * src/window-commands.h: Add an accellerator-only action (F7) to toggle caret browsing. Hook up listener to set the mozilla pref, added the gconf key to the schema.
* Forgot this line.Chris Lahey2004-01-081-0/+1
|
* Don't save the file if disable_save_to_disk is on.82004-01-081-3/+36
| | | | | | | | | | | | 2004-01-08 <clahey@ximian.com> * embed/mozilla/ContentHandler.cpp (MIMEAskAction): Don't save the file if disable_save_to_disk is on. * lib/ephy-prefs.h (CONF_DISABLE_SAVE_TO_DISK): Added this key here. * src/ephy-window.c (update_actions): Obey disable_save_to_disk. Also, disable toggling view settings if their keys are locked.
* Move "automatic" check back to where it was, since we now always have aChristian Persch2004-01-061-8/+8
| | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Move "automatic" check back to where it was, since we now always have a node for the encoding.
* Behave better when the encoding used on the page is unknown to us.Christian Persch2004-01-063-15/+31
| | | | | | | | | | | | | | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (add_encoding), (ephy_encodings_get_node), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (add_action), (ephy_encoding_menu_set_window): * src/prefs-dialog.c: (create_node_combo): Behave better when the encoding used on the page is unknown to us. Previously we skipped important steps in menu building, resulting in incorrect encoding indicator. Now, we dynamically add an entry with name "Unknown" to our menu. Also add back some rarely used encodings (us-ascii, UTF-16*, UTF-32*) to our known encodings repertoire.
* Always set the "automatic" toggle button correctly, even if the encodingChristian Persch2004-01-061-8/+9
| | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Always set the "automatic" toggle button correctly, even if the encoding wasn't found in our database
* Update creditsChristian Persch2004-01-051-0/+1
|
* Add help button to encodings dialogue.Piers Cornwell2004-01-051-8/+15
| | | | | | | | | 2004-01-04 Piers Cornwell <piers@myrealbox.com> * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (ephy_encoding_dialog_response_cb): Add help button to encodings dialogue.
* Add help buttons to Certificate Viewer, PDM, print and print setupPiers Cornwell2004-01-052-12/+6
| | | | | | | | | | | | | | | | 2004-01-04 Piers Cornwell <piers@myrealbox.com> * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * data/glade/print.glade: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_setup_dialog_help_button_cb): * src/pdm-dialog.c: (pdm_dialog_show_help): * src/prefs-dialog.c: (prefs_dialog_show_help): Add help buttons to Certificate Viewer, PDM, print and print setup dialogues.
* Daveb will hate me for this, but making the confirm dialogue onlyChristian Persch2004-01-051-11/+0
| | | | | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (confirm_close_with_modified_forms): Daveb will hate me for this, but making the confirm dialogue only window-modal will make menus not work after cancelling the close. Removing this for the time being since it's a nasty regression, until I find the bug.
* Add API to check if an EphyEmbed has forms with user input in them.Christian Persch2004-01-043-7/+166
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add API to check if an EphyEmbed has forms with user input in them. Currently it required one modified textarea, or two modified text fields. * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_delete_event_cb), (tab_delete_cb), (setup_notebook), (ephy_window_init), (ephy_window_remove_tab): When closing a window or tab, check if there is unsubmitted user input in form fields, and if so, warn the user before closing. Fixes bug #119857.
* Show copy text menu item also for linksMichael Terry2004-01-041-23/+49
| | | | | | | | | | | | | | | 2004-01-03 Michael Terry <mterry@fastmail.fm> * data/ui/epiphany-ui.xml: Show copy text menu item also for links * src/ephy-window.c: (update_edit_actions_sensitivity), (enable_edit_actions_sensitivity), (edit_menu_show_cb), (edit_menu_hide_cb), (hide_embed_popup_cb), (show_embed_popup): Show copy text menu item only when there is actually selected text.
* New API to get the EphyTab from an EphyEmbed. Port all users.Christian Persch2004-01-025-25/+40
| | | | | | | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_insert_page), (ephy_notebook_remove_page): * src/ephy-tab.c: (ephy_tab_for_embed), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb): * src/ephy-window.c: (tab_context_menu_cb), (tab_added_cb), (tab_removed_cb), (real_get_active_tab), (ephy_window_get_tabs): New API to get the EphyTab from an EphyEmbed. Port all users.
* Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed allChristian Persch2003-12-306-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_get_encodings), (ephy_embed_shell_check_mime), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-completion-model.c: (ephy_completion_model_init): * src/ephy-shell.c: (ephy_shell_get_history_window): * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb): * src/ephy-toolbars-model.c: (impl_get_item_id): * src/prefs-dialog.c: (setup_font_combo), (prefs_clear_cache_button_clicked_cb): Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all callers.
* Brought type macros in line with the rest of libegg; and use gobjectChristian Persch2003-12-273-103/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-27 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (find_action), (drag_data_delete_cb), (drag_data_get_cb), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge), (egg_editable_toolbar_class_init), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (find_action), (egg_toolbar_editor_set_merge), (egg_toolbar_editor_set_model), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (egg_toolbar_editor_new), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (update_editor_sheet), (setup_editor), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (egg_toolbars_model_add_separator), (impl_add_item), (egg_toolbars_model_add_toolbar), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_new), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item): * lib/egg/egg-toolbars-model.h: Brought type macros in line with the rest of libegg; and use gobject instance private data. * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type), (update_toolbar_removeable_flag), (ephy_toolbars_model_set_bookmarks), (toolbar_added), (toolbar_removed), (ephy_toolbars_model_new), (ephy_toolbars_model_has_bookmark): * src/ephy-toolbars-model.h: * src/toolbar.c: (toolbar_get_type), (init_normal_mode): Fix crasher bug #129991.
* One download directory chooser is enough.Christian Persch2003-12-271-16/+31
| | | | | | | | | 2003-12-26 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_download_path_button_clicked_cb): One download directory chooser is enough.
* Move Toolbar struct decl to toolbar.h.Christian Persch2003-12-252-3/+3
| | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.h: * src/toolbar.h: Move Toolbar struct decl to toolbar.h.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-254-11/+14
| | | | | | | | | | | | | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK.
* Re-implement Pause/Resume in downloader.Xan Lopez2003-12-211-1/+1
| | | | | | | | | | | | | * embed/downloader-view.c: (download_dialog_pause_cb): * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Re-implement Pause/Resume in downloader. * src/window-commands.c: (window_cmd_help_about): Change mail address.
* Do not try to pickup already set MOZILLA_FIVE_HOME, hopefully fix crashesMarco Pesenti Gritti2003-12-211-9/+2
| | | | | | | | | 2003-12-20 Marco Pesenti Gritti <marco@gnome.org> * src/epiphany.in: Do not try to pickup already set MOZILLA_FIVE_HOME, hopefully fix crashes oepning links from thunderbird
* Fixed #129737.Christian Neumair2003-12-211-1/+14
|
* Use favicons in the back/forward menus.Christian Persch2003-12-201-5/+31
| | | | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (new_history_menu_item), (setup_back_or_forward_menu), (setup_up_menu): Use favicons in the back/forward menus.
* Use return, not g_return_if_fail.Christian Persch2003-12-202-6/+1
| | | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Use return, not g_return_if_fail.
* Improve comment.Christian Persch2003-12-192-31/+38
| | | | | | | | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Improve comment. * src/ephy-window.c: (setup_ui_manager), (setup_notebook), (ephy_window_init): Only show the toolbar after the extensions have been attached to the window.
* Remove debug output leftovers.Christian Persch2003-12-191-4/+4
| | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (add_lang_dialog_response_cb): Remove debug output leftovers.
* In-line the language editor in the prefs dialogue.Christian Persch2003-12-194-632/+450
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-18 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/language-editor.c: * src/language-editor.h: * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_dialog_class_init), (language_editor_add), (language_editor_update_pref), (language_editor_update_buttons), (add_lang_dialog_response_cb), (setup_add_language_dialog), (language_editor_add_button_clicked_cb), (language_editor_remove_button_clicked_cb), (language_editor_up_button_clicked_cb), (language_editor_down_button_clicked_cb), (language_editor_treeview_drag_end_cb), (language_editor_selection_changed_cb), (create_language_section), (prefs_dialog_init): In-line the language editor in the prefs dialogue.
* Factor out the common encoding is_automatic check.Christian Persch2003-12-182-10/+2
| | | | | | | | | | | 2003-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encoding_info_is_automatic): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Factor out the common encoding is_automatic check.
* Don't try to save the submit button image instead of submitting the form.Christian Persch2003-12-181-6/+8
| | | | | | | | | 2003-12-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Don't try to save the submit button image instead of submitting the form. [Found by xan.]
* *** empty log message ***Marco Pesenti Gritti2003-12-1710-28/+0
|
* Don't install statusbar.h.Christian Persch2003-12-151-2/+2
| | | | | | | | 2003-12-15 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: Don't install statusbar.h.
* Fix silly type flags.Christian Persch2003-12-151-2/+1
| | | | | | | | 2003-12-15 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extension.c: (ephy_extension_get_type): Fix silly type flags.
* Fix mem leaks. Fix a crash when finalizing a nautilus view after havingChristian Persch2003-12-151-3/+9
| | | | | | | | | | | | 2003-12-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nautilus-view.c: (ephy_nautilus_view_finalize), (gnv_cmd_select_encoding), (gnv_cmd_file_print), (gnv_cmd_edit_find): Fix mem leaks. Fix a crash when finalizing a nautilus view after having used the find dialogue.
* Better way of mapping hierarchy to topics when importing bookmarks fromChristian Persch2003-12-141-5/+35
| | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Better way of mapping hierarchy to topics when importing bookmarks from mozilla. Fixes bug #124145.
* Convert control chars to blanks.Christian Persch2003-12-141-9/+1
| | | | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int), (ephy_string_blank_chr), (ephy_string_elide_underscores), (ephy_string_double_underscores): * lib/ephy-string.h: * src/ephy-tab.c: (ephy_tab_set_link_message): Convert control chars to blanks.
* Use stock icon for print setup.Christian Persch2003-12-141-1/+1
| | | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_setup_dialog_new): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Use stock icon for print setup.
* *** empty log message ***Marco Pesenti Gritti2003-12-144-41/+30
|
* *** empty log message ***Marco Pesenti Gritti2003-12-141-10/+13
|
* Make print dialogue spacing HIG-compliant.Christian Persch2003-12-111-3/+5
| | | | | | | | | | | | | | 2003-12-10 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: Make print dialogue spacing HIG-compliant. * src/ephy-tabs-menu.c: (tab_set_action_accelerator), (ephy_tabs_menu_update): Restore tabs menu shortcut keys ALT-1 .. ALT-0 for the first ten tabs; they somehow got lost in the Egg->Gtk port.
* Move events code inside EphyBrowser.cpp and add an event for blockedAdam Hooper2003-12-103-2/+12
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-09 Adam Hooper <adamh@densi.com> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Move events code inside EphyBrowser.cpp and add an event for blocked popup. * embed/ephy-permission-manager.c: Some more docs * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_statusbar): * src/ephy-window.h: Add a way to access the statusbar for plugins
* Make toolbar editing drag icons use the same icon size as the actual toolbar ↵Jorn Baayen2003-12-101-0/+1
| | | | icons; sort actiosn in the toolbar editor; give the zoom action a zoom icon.
* Lockdown: set some buttons insensitive when their pref key is notChristian Persch2003-12-091-9/+31
| | | | | | | | | | | | | | | | 2003-12-09 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/print-dialog.c: (ephy_print_dialog_new): * src/prefs-dialog.c: (create_language_menu), (create_download_path_label), (prefs_dialog_init): Lockdown: set some buttons insensitive when their pref key is not writable. * src/prefs-dialog.c: (download_path_response_cb): Convert filename to utf8 first.
* Sort the list of fonts alphabetically.Christian Persch2003-12-091-9/+26
| | | | | | | | | | | | 2003-12-08 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (setup_font_combo), (create_fonts_language_menu), (create_node_combo), (create_language_menu): Sort the list of fonts alphabetically. Fix a bunch of mem leaks.
* Make ctrl-click equivalent of middle click on links. Make shift-click saveChristian Persch2003-12-082-18/+77
| | | | | | | | | | | | | | 2003-12-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (save_property_url), (ephy_tab_dom_mouse_click_cb): Make ctrl-click equivalent of middle click on links. Make shift-click save the link. Fixes bug #110786. * src/ephy-window.c: (tab_context_menu_cb): Fix context_menu function return value type.
* Split print dialogue in print setup and actual print, and move printChristian Persch2003-12-0712-289/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Misc cleanups. Remove a duplicated signal from EphyEmbed.Christian Persch2003-12-061-13/+0
| | | | | | | | | | | | | | | | 2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type), (ephy_embed_shell_finalize), (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (load_mime_from_xml), (ephy_embed_shell_init), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * src/ephy-tab.c: (ephy_tab_init): Misc cleanups. Remove a duplicated signal from EphyEmbed.
* Fix strftime(3) usage.Christian Persch2003-12-041-1/+5
| | | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * src/pdm-dialog.c: (show_cookies_properties): Fix strftime(3) usage.
* Fix two crashers.Christian Persch2003-12-031-3/+9
| | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_cmd_delete_selection), (compare_cookies): Fix two crashers.
* Improve cookie properties dialogue for bug #125498.Piers Cornwell2003-12-031-18/+25
| | | | | | | | 2003-12-03 Piers Cornwell <piers@myrealbox.com> * src/pdm-dialog.c: (show_cookies_properties): Improve cookie properties dialogue for bug #125498.
* pass the shell to the callbacks as expected. Fix warnings.Marco Pesenti Gritti2003-12-021-2/+2
| | | | | | | | 2003-12-01 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-shell.c: (ephy_shell_get_history_window): pass the shell to the callbacks as expected. Fix warnings.
* Update my email address.Christian Persch2003-12-011-4/+4
| | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: Update my email address.
* Fix mem leak introduced by last commit.Christian Persch2003-12-011-0/+2
| | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * src/language-editor.c: (language_editor_add): Fix mem leak introduced by last commit.
* Remove gtkoptionmenu.h include.Christian Persch2003-12-012-1/+40
| | | | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2003-11-301-5/+6
|
* Readd gtk deprecates (only in maintainer mode).Marco Pesenti Gritti2003-11-302-2/+2
| | | | | | | | | | | | | | | | | | | | | 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.
* Improved API and implementation of EphyDialog. Add support for new comboChristian Persch2003-11-309-965/+650
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * 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.
* Marco Pesenti Gritti <marco@gnome.org>Chris Lahey2003-11-306-144/+154
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-30 Chris Lahey <clahey@ximian.com> Marco Pesenti Gritti <marco@gnome.org> * data/Makefile.am: * data/epiphany-lockdown.schemas.in: * src/ephy-main.c: (main): * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (update_chromes_visibility), (update_chrome), (ephy_window_fullscreen), (ephy_window_unfullscreen), (show_embed_popup), (update_layout_toggles), (chrome_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_request_chrome), (ephy_window_set_print_preview), (ephy_window_show), (print_dialog_preview_cb): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar): Implement lockdown pref to not allow javascript to modify chromes. Do necessary changes to chromes code to make it possible.
* Make PDM dialogue a singleton.Christian Persch2003-11-275-19/+34
| | | | | | | | | | | | | 2003-11-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_history_window), (ephy_shell_get_pdm_dialog): * src/ephy-shell.h: * src/pdm-dialog.c: (pdm_dialog_response_cb): * src/pdm-dialog.h: * src/window-commands.c: (window_cmd_edit_personal_data): Make PDM dialogue a singleton.
* Mark parameters "const" where appropriate.Christian Persch2003-11-261-49/+99
| | | | | | | | | | | | | | | | | | | | | | | 2003-11-26 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_copy), (ephy_cookie_manager_remove_cookie): * embed/ephy-cookie-manager.h: * embed/ephy-password-manager.c: (ephy_password_info_copy): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_copy): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: Mark parameters "const" where appropriate. * src/pdm-dialog.c: (pdm_cmd_delete_selection), (compare_cookies), (cookie_to_iter), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (pdm_dialog_fill_passwords_list), (pdm_dialog_init): Make the cookies list auto-updating.
* Restore clipboard actions in input context menu. Show it only if mozillaMarco Pesenti Gritti2003-11-261-2/+12
| | | | | | | | | | | 2003-11-26 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (update_edit_actions_sensitivity), (edit_menu_show_cb), (show_embed_popup): Restore clipboard actions in input context menu. Show it only if mozilla is recent enough though.
* Refactored pdm dialogue code. Use new boxed cookie/password info types.Christian Persch2003-11-241-362/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-24 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_dialog_get_type), (pdm_dialog_class_init), (action_treeview_selection_changed_cb), (pdm_cmd_delete_selection), (pdm_key_pressed_cb), (pdm_dialog_remove_button_clicked_cb), (setup_action), (cookies_treeview_selection_changed_cb), (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (pdm_dialog_cookies_destruct), (pdm_dialog_cookie_add), (pdm_dialog_cookie_remove), (pdm_dialog_passwords_construct), (password_added_cb), (password_changed_cb), (password_deleted_cb), (passwords_cleared_cb), (pdm_dialog_fill_passwords_list), (pdm_dialog_passwords_destruct), (pdm_dialog_password_add), (pdm_dialog_password_remove), (sync_notebook_tab), (pdm_dialog_init), (pdm_dialog_finalize), (show_cookies_properties), (pdm_dialog_cookies_properties_button_clicked_cb), (pdm_dialog_response_cb), (pdm_dialog_new): Refactored pdm dialogue code. Use new boxed cookie/password info types. Hook up to the single signals to get notified on password/ cookie updates [actual updating code to be written :)].
* When exporting to RDF, write all bookmarks, not just every secondChristian Persch2003-11-241-2/+0
| | | | | | | | | | 2003-11-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): When exporting to RDF, write all bookmarks, not just every second bookmark.
* Use EphyFileChooser API, convert download path to UTF8.Xan Lopez2003-11-241-16/+15
| | | | | | | | * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb), (prefs_download_path_button_clicked_cb): Use EphyFileChooser API, convert download path to UTF8.
* Use icon theme icon for add bookmarkMarco Pesenti Gritti2003-11-223-5/+5
| | | | | | | | | | | | | | 2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * data/art/Makefile.am: * data/art/epiphany-bookmark-page.png: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/ephy-history-window.c: * src/ephy-window.c: Use icon theme icon for add bookmark
* Implement arbitrary url lockdown prefMarco Pesenti Gritti2003-11-222-4/+80
| | | | | | | | | | | | | | 2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-location-action.c: (sync_editable), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init): * src/toolbar.c: (update_location_editable), (arbitrary_url_notifier), (toolbar_setup_actions), (toolbar_set_window), (toolbar_finalize): Implement arbitrary url lockdown pref
* Add a factory to create embed objects and use it. Deal with dependency ofMarco Pesenti Gritti2003-11-225-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-persist.c: (ephy_embed_persist_save): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: * src/Makefile.am: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-tab.c: (ephy_tab_init): * src/popup-commands.c: (save_property_url), (popup_cmd_set_image_as_background): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Add a factory to create embed objects and use it. Deal with dependency of mozilla-embed and mozilla-embed-persist on mozilla-embed-single internally.
* Forgot to commit Makefile.amChristian Persch2003-11-221-1/+0
|
* New interfaces: EphyCookieManager, EphyPermissionManager,Christian Persch2003-11-222-39/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-21 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_new), (ephy_cookie_copy), (ephy_cookie_free), (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_info_new), (ephy_password_info_copy), (ephy_password_info_free), (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_info_free), (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/pdm-dialog.c: (pdm_dialog_get_type), (pdm_dialog_cookie_add), (pdm_dialog_password_add), (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init), (pdm_dialog_new), (show_cookies_properties), (pdm_dialog_cookies_properties_button_clicked_cb): * src/pdm-dialog.h: New interfaces: EphyCookieManager, EphyPermissionManager, EphyPasswordManager. Port all callers to new interfaces. Change linking order to make it link. Only set autoconf proxy url if it's non-empty.
* Pass a source based on filename instead of pixbuf for our own icon set, soMarco Pesenti Gritti2003-11-211-4/+4
| | | | | | | | | | | | | | | | | 2003-11-21 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: Pass a source based on filename instead of pixbuf for our own icon set, so that they are created only when necessary. Add code to insert icon theme icons in our icon set and use icon theme icons when possible. * src/ephy-window.c: Update icons id.
* Hide Open downloads pref. Since both behaviors are available maybe it'sMarco Pesenti Gritti2003-11-211-1/+1
| | | | | | | | | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * data/glade/prefs-dialog.glade: Hide Open downloads pref. Since both behaviors are available maybe it's not necessary at all. Also I feel it confusing to have only one of the cases respecting it. I guess better to wait feedback on releases before making a call on this. * src/ephy-window.c: No more need of ... on dowload context menu
* hrm misplaced free in last commitMarco Pesenti Gritti2003-11-211-1/+1
| | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (ephy_session_save): hrm misplaced free in last commit
* Make xml saving low disk safe.Marco Pesenti Gritti2003-11-211-2/+12
| | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (ephy_session_save): Make xml saving low disk safe.
* Fix unrefing of context menu eventMarco Pesenti Gritti2003-11-211-16/+3
| | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (show_embed_popup): Fix unrefing of context menu event
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-2033-14/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature. 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.h: * embed/ephy-download.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.h: * embed/ephy-embed-shell.h: * embed/ephy-embed-single.h: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.h: * embed/ephy-history.h: * embed/find-dialog.h: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.h: * embed/print-dialog.h: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.h: * lib/ephy-debug.h: * lib/ephy-dialog.h: * lib/ephy-dnd.h: * lib/ephy-file-chooser.h: * lib/ephy-node-db.h: * lib/ephy-node-filter.h: * lib/ephy-node.h: * lib/ephy-prefs.h: * lib/ephy-state.h: * lib/ephy-string.h: * lib/ephy-zoom.h: * lib/widgets/ephy-arrow-toolbutton.h: * lib/widgets/ephy-cell-renderer-progress.h: * lib/widgets/ephy-ellipsizing-label.h: * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.h: * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topics-selector.h: * src/ephy-automation.h: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.h:
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-202-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature.
* Make encodings dialogue transient.Christian Persch2003-11-191-51/+14
| | | | | | | | | | | 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.
* Re-use some more signals from GtkMozEmbed; fix getter_Copies usage inChristian Persch2003-11-192-9/+13
| | | | | | | | | | | | | | | | | | 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_link_message_cb): * src/ephy-nautilus-view.h: * src/ephy-tab.c: (ephy_tab_set_link_message), (ephy_tab_link_message_cb), (ephy_tab_init): Re-use some more signals from GtkMozEmbed; fix getter_Copies usage in mozilla-embed.cpp. Fixes bug #127335.
* Api fixMarco Pesenti Gritti2003-11-181-1/+1
| | | | | | | | 2003-11-17 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Api fix
* *** empty log message ***Marco Pesenti Gritti2003-11-171-4/+12
|
* Move gnome session code in the shell.Marco Pesenti Gritti2003-11-172-80/+67
| | | | | | | | | | | 2003-11-16 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (get_session_filename), (ephy_session_init), (ephy_session_finalize): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (gnome_session_init), (ephy_shell_startup): Move gnome session code in the shell.
* Implement UI for default download path and auto open downlads prefs forXan Lopez2003-11-161-0/+105
| | | | | | | | | | | | * data/glade/prefs-dialog.glade: * src/prefs-dialog.c: (prefs_dialog_finalize), (get_download_button_label), (create_download_path_label), (prefs_dialog_init), (prefs_language_more_button_clicked_cb), (download_path_response_cb), (prefs_download_path_button_clicked_cb): Implement UI for default download path and auto open downlads prefs for the downloader.
* *** empty log message ***Marco Pesenti Gritti2003-11-151-6/+6
|
* Use an unique factory for both interfaces.Marco Pesenti Gritti2003-11-156-114/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-14 Marco Pesenti Gritti <marco@gnome.org> * data/GNOME_Epiphany_Automation.server.in: * data/GNOME_Epiphany_NautilusView.server.in: Use an unique factory for both interfaces. * data/ui/Makefile.am: Do not try to merge translations in nautilus xml. * src/ephy-nautilus-view.c: (disconnected_idle), (control_disconnected_cb), (ephy_nautilus_view_instance_init), (ephy_nautilus_view_finalize): Unref the view on control disconnected, not on finalize. * src/ephy-main.c: (main): Add a server mode argument, used internally by bonobo interface. Free popt context only when no more necessary. * src/ephy-automation.c: * src/ephy-automation.h: * src/ephy-shell.c: (ephy_nautilus_view_new), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (path_from_command_line_arg), (open_urls), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab): * src/ephy-shell.h: When running in server mode unref (and so exit) on a timeout. Expand args passed to the command line.
* Put back borked mozilla alert.Marco Pesenti Gritti2003-11-141-2/+1
| | | | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/ephy-shell.h: Put back borked mozilla alert.
* Looks like we need to unregister factory since we initialized it byMarco Pesenti Gritti2003-11-141-0/+3
| | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-shell.c: (ephy_shell_finalize): Looks like we need to unregister factory since we initialized it by ourself.
* Rework shell services initialization so that it happen either on everyMarco Pesenti Gritti2003-11-143-75/+79
| | | | | | | | | | | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): * src/ephy-window.c: (ensure_default_icon), (ephy_window_init): Rework shell services initialization so that it happen either on every instance, before the automation stuff is used, either when they are requested. This appear to fix the crash with two instances runned simultaneously. (Christian I'm not quite sure this is ok for plugins manager, if there are problems let me know.)
* ChangeLogMarco Pesenti Gritti2003-11-135-264/+276
|
* Link up toolbar editor help button.Christian Persch2003-11-131-1/+1
| | | | | | | | 2003-11-12 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (toolbar_editor_response_cb): Link up toolbar editor help button.
* Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler andMarco Pesenti Gritti2003-11-115-42/+1
| | | | | | | | | | | | | | | | | | | 2003-11-11 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-session.c: (write_ephy_window): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_size_to_cb): * src/ephy-window.c: (translate_default_chrome): Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and fix a pair of bugs.
* New extensions API.Christian Persch2003-11-1118-1182/+1430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-10 Christian Persch <chpe@cvs.gnome.org> New extensions API. * Makefile.am: * configure.in: * lib/Makefile.am: * lib/ephy-module-loader.c: (ephy_module_loader_get_type), (ephy_module_loader_new), (ephy_module_loader_load), (ephy_module_loader_unload), (ephy_module_loader_class_init), (ephy_module_loader_init), (ephy_module_loader_finalize), (ephy_module_loader_factory): * lib/ephy-module-loader.h: * plugins/.cvsignore: * plugins/Makefile.am: * plugins/sample/.cvsignore: * plugins/sample/Makefile.am: * plugins/sample/sample.c: * src/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: (get_target_window): * src/bookmarks/ephy-bookmarks.c: * src/ephy-automation.c: (ephy_automation_factory), (ephy_automation_factory_new), (impl_ephy_automation_loadurl), (impl_ephy_automation_load_session), (ephy_automation_class_init): * src/ephy-extension.c: (ephy_extension_get_type), (ephy_extension_attach_window), (ephy_extension_detach_window): * src/ephy-extension.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type), (ephy_extensions_manager_instantiate_extension), (ephy_extensions_manager_load), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_add), (ephy_extensions_manager_init), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (ephy_extensions_manager_iface_init), (ephy_extensions_manager_class_init), (ephy_extensions_manager_new): * src/ephy-extensions-manager.h: * src/ephy-history-window.c: (get_target_window): * src/ephy-plugin.c: * src/ephy-plugin.h: * src/ephy-session.c: (ephy_session_get_type), (get_session_filename), (session_delete), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (impl_attach_window), (impl_detach_window), (save_yourself_cb), (die_cb), (gnome_session_attach), (gnome_session_detach), (ensure_session_directory), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_iface_init), (ephy_session_class_init), (offer_to_resume), (ephy_session_autoresume), (ephy_session_close), (write_tab), (write_window_geometry), (write_tool_window), (write_ephy_window), (ephy_session_save), (parse_embed), (ephy_session_load), (ephy_session_get_windows), (ephy_session_add_window), (ephy_session_remove_window), (ephy_session_get_active_window): * src/ephy-session.h: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_destroy), (ephy_window_init): * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/session.c: * src/session.h: Create a new extensions API. Make session an internal extension :) Port callers to session API changes.
* Fix compile warning.Marco Pesenti Gritti2003-11-101-2/+2
| | | | | | | | | | | | 2003-11-10 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load): Fix compile warning. * src/ephy-completion-model.c: (init_text_col): Correct TEXT column get_value
* Fix recovery from corrupted toolbar layout file.Christian Persch2003-11-101-2/+4
| | | | | | | | | | 2003-11-10 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (ephy_toolbars_model_set_bookmarks): Fix recovery from corrupted toolbar layout file.
* Do not connect and reemit same signal for nothing. Remove unused/expensiveMarco Pesenti Gritti2003-11-102-4/+10
| | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Do not connect and reemit same signal for nothing. Remove unused/expensive progress signal. * src/session.c: (session_save): Unlink session file when all windows are removed.
* Cleanup session. Persist also history and bookmarks.Marco Pesenti Gritti2003-11-1010-325/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_open_bookmarks_editor), (ephy_automation_init), (ephy_automation_object_finalize), (ephy_automation_class_init): * src/ephy-completion-model.c: (root_child_removed_cb): * src/ephy-main.c: (ephy_main_start): * src/ephy-shell.c: (ephy_shell_get_active_window), (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (remove_from_session), (ephy_window_init): * src/session.c: (session_autoresume), (session_close), (session_dispose), (save_window_geometry), (save_tool_window), (save_ephy_window), (session_save), (session_load), (session_get_windows), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (session_add_window), (session_remove_window), (save_yourself_cb), (session_die_cb), (gnome_session_init), (session_init): * src/session.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Cleanup session. Persist also history and bookmarks.
* Don't unref the icon theme, we don't own it.Christian Persch2003-11-101-8/+10
| | | | | | | | 2003-11-09 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Don't unref the icon theme, we don't own it.
* Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looksMarco Pesenti Gritti2003-11-091-1/+1
| | | | | | | | | | | 2003-11-08 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_flags): * src/ephy-completion-model.c: (ephy_completion_model_get_flags): Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looks already ok with it to me. Hopefully not missing something ...
* Focus history entry on _show. Do not try to update paste menu item usingMarco Pesenti Gritti2003-11-092-8/+15
| | | | | | | | | | | | | | | 2003-11-08 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_show), (ephy_history_window_class_init), (ephy_history_window_update_menu): Focus history entry on _show. Do not try to update paste menu item using the wait api, it can cause a crash on a timeout and anyway it's incosistent what we do in main window.
* Port node db saving and RDF export to xml writer api.Christian Persch2003-11-082-104/+175
| | | | | | | | | | | | | | | | | | | | | | 2003-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_finalize): * embed/ephy-history.c: (ephy_history_save): * lib/ephy-file-helpers.c: (ephy_file_switch_temp_file): * lib/ephy-file-helpers.h: * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist), (ephy_node_db_write_to_xml_safe): * lib/ephy-node-db.h: * lib/ephy-node.c: (write_parent), (ephy_node_write_to_xml): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save), (ensure_states): * src/bookmarks/ephy-bookmarks-export.c: (write_topics_list), (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save): Port node db saving and RDF export to xml writer api.
* Fix mem leak.Christian Persch2003-11-081-0/+2
| | | | | | | | 2003-11-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-favicon-actio.c: (ephy_favicon_action_finalize): Fix mem leak.
* Chain up to parent's finalize method.Christian Persch2003-11-081-0/+2
| | | | | | | | 2003-11-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (ephy_location_action_finalize): Chain up to parent's finalize method.
* Rewrite the iteration part to take advantage of user_data2. Should beMarco Pesenti Gritti2003-11-081-130/+116
| | | | | | | | | | | | | | | | | | 2003-11-07 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (get_path_real), (node_iter_from_node), (get_index_root), (root_child_removed_cb), (root_child_added_cb), (root_child_changed_cb), (ephy_completion_model_get_value), (ephy_completion_model_get_iter), (ephy_completion_model_get_path), (ephy_completion_model_iter_next), (ephy_completion_model_iter_children), (ephy_completion_model_iter_n_children), (ephy_completion_model_iter_nth_child), (ephy_completion_model_iter_parent): Rewrite the iteration part to take advantage of user_data2. Should be faster and a bit cleaner.
* Handle correctly last bookmark caseMarco Pesenti Gritti2003-11-071-2/+9
| | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (ephy_completion_model_iter_next): Handle correctly last bookmark case
* *** empty log message ***Marco Pesenti Gritti2003-11-071-1/+0
|
* More headers fixup.Marco Pesenti Gritti2003-11-073-14/+16
| | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-main.c: * src/ephy-shell.c: More headers fixup. * src/window-commands.c: (window_cmd_help_about): Use gtk icon theme here too.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-0624-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.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-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.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/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.
* Renamed to get_command_state to can_do_command.Christian Persch2003-11-051-5/+5
| | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (edit_menu_show_cb): Renamed to get_command_state to can_do_command.
* Get rid of gresult type. Use return values instead of out-parametersChristian Persch2003-11-0513-83/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_do_command), (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_class_init), (ephy_embed_event_init), (ephy_embed_event_finalize), (ephy_embed_event_new), (ephy_embed_event_get_event_type), (ephy_embed_event_get_coords), (ephy_embed_event_get_context), (ephy_embed_event_set_property): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_cancel): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_set_event), (embed_popup_copy_location_cmd), (embed_popup_save_page_as_cmd), (embed_popup_open_frame_cmd): * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list), (ephy_embed_single_list_cookies), (ephy_embed_single_remove_cookies), (ephy_embed_single_list_passwords), (ephy_embed_single_remove_passwords), (ephy_embed_single_free_cookies), (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-types.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_new), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-history.c: * embed/find-dialog.c: (find_dialog_go_next), (find_dialog_go_prev): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/Makefile.am: * lib/ephy-state.c: * lib/ephy-types.h: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): * src/ephy-favicon-action.c: (each_url_get_data_binder): * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb), (gnv_embed_title_cb), (gnv_popup_cmd_frame_in_new_window), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb): * src/ephy-navigation-action.c: (activate_up_menu_item_cb), (setup_back_or_forward_menu), (setup_up_menu): * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-window.c: (edit_menu_show_cb), (sync_tab_security), (show_embed_popup), (ephy_window_set_zoom): * src/pdm-dialog.c: (pdm_dialog_init): * src/popup-commands.c: (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window), (popup_cmd_open_frame): * src/ppview-toolbar.c: (toolbar_update_sensitivity), (toolbar_cmd_ppv_goto_last), (clamp_page_limits): * src/prefs-dialog.c: (setup_font_menu), (prefs_homepage_current_button_clicked_cb): * src/session.c: (save_tab): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Get rid of gresult type. Use return values instead of out-parameters whereever possible, and port all callers.
* Remove unused ephy-prefs includesMarco Pesenti Gritti2003-11-053-3/+0
| | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/widgets/ephy-spinner.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/language-editor.c: * src/session.c: Remove unused ephy-prefs includes
* Fix sensitivity of Paste. Still not set for native entries, I cant reallyMarco Pesenti Gritti2003-11-041-1/+6
| | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (edit_menu_show_cb): Fix sensitivity of Paste. Still not set for native entries, I cant really see a way to do it without waiting and so making the change visible which sucks.
* Yet another sensitivity update strategy. Set sensitivity on menu show andMarco Pesenti Gritti2003-11-041-55/+87
| | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (edit_menu_show_cb), (edit_menu_hide_cb), (init_menu_updaters), (setup_window): Yet another sensitivity update strategy. Set sensitivity on menu show and reset it on menu hide, so that accellerators ever work.
* update undo/redo sensitivityMarco Pesenti Gritti2003-11-043-1/+59
| | | | | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (window_cmd_edit): update undo/redo sensitivity 2003-11-04 David Adam Bordoley <bordoley@msu.edu> * data/ui/epiphany-ui.xml: * src/window-commands.c: (window_cmd_edit_undo), (window_cmd_edit_redo): * src/window-commands.h: Menus for Undo/Redo
* Show only paste in the context menu, it's the only one that works inMarco Pesenti Gritti2003-11-041-17/+60
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-ui.xml: Show only paste in the context menu, it's the only one that works in mozilla. * embed/ephy-command-manager.c: (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: Rename the state api. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Implement state api. * src/ephy-window.c: (window_cmd_edit), (show_embed_popup): Update clipboard menus on activate.
* Remove unused types.Christian Persch2003-11-041-4/+4
| | | | | | | | | | | | | | | | | | | 2003-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator.
* Remove the "show_details in downloader" schema.Xan Lopez2003-11-031-1/+1
| | | | | | | | | | | | | | | * data/epiphany.schemas.in: Remove the "show_details in downloader" schema. * embed/ephy-embed-popup-control.c: (save_url): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (save_property_url): Implement the new downloading mechanism in CH, also rename CONF_STATE_DOWNLOADING_DIR to CONF_STATE_DOWNLOAD_DIR.
* Add a title param to dnd iterator and remove unused screen locationMarco Pesenti Gritti2003-10-301-5/+1
| | | | | | | | | | | | | | 2003-10-30 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dnd.c: (add_one_netscape_url), (add_one_uri), (add_one_topic): * lib/ephy-dnd.h: * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/ephy-favicon-action.c: (each_url_get_data_binder): Add a title param to dnd iterator and remove unused screen location params.
* Add public function to get a host node from a page url.Christian Persch2003-10-301-15/+91
| | | | | | | | | | | | | | | | 2003-10-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_add_host), (ephy_history_get_host): * embed/ephy-history.h: Add public function to get a host node from a page url. * src/ephy-tab.c: (address_has_web_scheme), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (open_link_in_new_tab), (ephy_tab_init): Persist zoom settings per host.
* Implement smart selection in the downloader view.Xan Lopez2003-10-291-4/+2
| | | | | | | | | | | | | | | | | * embed/downloader-view.c: (downloader_view_remove_download): Implement smart selection in the downloader view. * data/epiphany.schemas.in: * embed/ephy-embed-popup-control.c: (embed_popup_download_link_cmd): * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (popup_cmd_download_link): Make persist downloads store the files in the download dir automatically without asking the user (key only accessible via gconf atm). CH downloads still need fixing.
* Always list "Off" as first item in the list of autodetectors. Fixes bugChristian Persch2003-10-291-2/+29
| | | | | | | | | | 2003-10-28 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (sort_detectors), (create_optionmenu), (prefs_dialog_init): Always list "Off" as first item in the list of autodetectors. Fixes bug #125723.
* Unref the store once added to the combo.Marco Pesenti Gritti2003-10-291-0/+1
| | | | | | | | 2003-10-28 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Unref the store once added to the combo.
* Open source in the default editor and remove the unused copy api. Add aMarco Pesenti Gritti2003-10-283-20/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-28 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (delete_files), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/window-commands.c: (get_editor_application), (editor_open_uri), (save_source_completed_cb), (editor_can_open_uri), (save_temp_source), (window_cmd_view_page_source): Open source in the default editor and remove the unused copy api. Add a missing include while at it.
* Sync with nautilus apiMarco Pesenti Gritti2003-10-271-8/+16
| | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window), (gnv_popup_cmd_frame_in_new_window): Sync with nautilus api
* Fixup spinner when resetting the toolbar model. Update spinner on toolbarMarco Pesenti Gritti2003-10-271-4/+31
| | | | | | | | | | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock), (set_fixed_style), (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_removed_cb), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * src/toolbar.c: (toolbar_style_sync), (create_spinner), (toolbar_init): Fixup spinner when resetting the toolbar model. Update spinner on toolbar style change. Fix a typo in toolbars creation that wa causing fs toolbar to be hidden.
* *** empty log message ***Marco Pesenti Gritti2003-10-271-1/+0
|
* Really used the converted string [in UTF-8] instead of the directly usingChristian Persch2003-10-261-1/+1
| | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (open_response_cb): Really used the converted string [in UTF-8] instead of the directly using filename.
* One set of buttons is enough.Christian Persch2003-10-261-6/+1
| | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): One set of buttons is enough.
* Port to new gtk+ file chooser.Christian Persch2003-10-265-86/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> Port to new gtk+ file chooser. * data/epiphany.schemas.in: * lib/ephy-prefs.h: Add key for remembering upload path. * embed /Makefile.am: * embed/downloader-view.c: * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type), (ephy_embed_persist_set_dest), (ephy_embed_persist_set_embed), (ephy_embed_persist_set_fc_title), (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_set_flags), (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_persist_key), (ephy_embed_persist_set_source), (ephy_embed_persist_get_dest), (ephy_embed_persist_get_embed), (ephy_embed_persist_get_fc_title), (ephy_embed_persist_get_fc_parent), (ephy_embed_persist_get_flags), (ephy_embed_persist_get_max_size), (ephy_embed_persist_get_persist_key), (ephy_embed_persist_get_source), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_finalize), (ephy_embed_persist_class_init), (ephy_embed_persist_cancel), (ephy_embed_persist_save), (ephy_embed_persist_new): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (save_property_url), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd): * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_new), (icon_is_obsolete), (icons_added_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/MozDownload.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: Simplify EphyEmbedPersist implementation. Augment it with properties for showing a file chooser to select persist destination. Port all callers to new interfaces. * embed/ephy-embed-single.c: (ephy_embed_single_remove_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: * embed/ephy-embed-utils.h: Obsolete and removed. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Misc cleanups. * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: Port to new file chooser class. * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_finalize), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_set_property), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: * src/bookmarks/ephy-bookmarks-editor.c: (import_from_file_response_cb), (import_dialog_response_cb): New file chooser wrapper class; ported file chooser callers to it.
* *** empty log message ***Marco Pesenti Gritti2003-10-251-4/+9
|
* don't pollute the statusbar with a "Done." message.David Bordoley2003-10-251-1/+1
| | | | | | | | 2003-10-25 David Bordoley <bordoley@msu.edu> * src/ephy-tab.c: (build_net_state_message): don't pollute the statusbar with a "Done." message.
* Made encoding dialog auto-apply.Christian Persch2003-10-251-11/+15
| | | | | | | | | | | 2003-10-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_response_cb), (view_node_selected_cb), (automatic_toggled_cb), (ephy_encoding_dialog_init): * data/glade/epiphany.glade: Made encoding dialog auto-apply.
* Make the spinner spin again.Marco Pesenti Gritti2003-10-231-0/+2
| | | | | | | | 2003-10-23 Marco Pesenti Gritti <marco@gnome.org> * src/toolbar.c: (toolbar_spinner_start), (toolbar_spinner_stop): Make the spinner spin again.
* Move the spinner in his own mini toolbar.Marco Pesenti Gritti2003-10-234-290/+5
| | | | | | | | | | | | | | | | | | 2003-10-23 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-toolbar.xml: * lib/egg/egg-editable-toolbar.c: (get_toolbar_position), (get_dock_nth), (get_toolbar_nth), (create_dock), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_show), (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * src/Makefile.am: * src/toolbar.c: (toolbar_setup_actions), (toolbar_init), (toolbar_spinner_start), (toolbar_spinner_stop): Move the spinner in his own mini toolbar.
* Encoding menu improvements, Episode V: MPT strikes back.Christian Persch2003-10-211-115/+68
| | | | | | | | | | | | | | | | | | | 2003-10-20 Christian Persch <chpe@cvs.gnome.org> Encoding menu improvements, Episode V: MPT strikes back. * data/glade/epiphany.glade: * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (encoding_is_automatic), (sync_embed_cb), (activate_choice), (ephy_encoding_dialog_response_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init): Replace the 2-pane view with a single list, and restore the automatic and manual radio buttons.
* Make sure that both sites and hosts are filtered on constructMarco Pesenti Gritti2003-10-201-3/+6
| | | | | | | | | | 2003-10-20 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-history-window.c: (setup_filters), (ephy_history_window_construct): Make sure that both sites and hosts are filtered on construct
* unref the model once it's set in the viewMarco Pesenti Gritti2003-10-201-0/+1
| | | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * src/language-editor.c: (language_editor_set_view): unref the model once it's set in the view
* Index are not identifiersMarco Pesenti Gritti2003-10-191-4/+1
| | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-location-action.c: (remove_completion_actions): Index are not identifiers
* Thaw smartbookmarks node after use.Christian Persch2003-10-191-0/+1
| | | | | | | | 2003-10-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (init_actions_list): Thaw smartbookmarks node after use.
* Get rid of the last vestige of ephy_window_update_control(), and make theChristian Persch2003-10-185-148/+126
| | | | | | | | | | | | | | | | | | | | 2003-10-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (add_to_favorites), (history_site_visited_cb): * src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_set_property), (ephy_favorites_menu_get_property), (ephy_favorites_menu_class_init), (do_updates), (fav_removed_cb), (fav_added_cb), (ephy_favorites_menu_init), (ephy_favorites_menu_finalize), (ephy_favorites_menu_new): * src/ephy-favorites-menu.h: * src/ephy-window.c: * src/ephy-window.h: Get rid of the last vestige of ephy_window_update_control(), and make the favourites menu self-updating.
* Show encoding menu also when empty, fix oddness when opening View menuMarco Pesenti Gritti2003-10-181-0/+3
| | | | | | | | | 2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (setup_window): Show encoding menu also when empty, fix oddness when opening View menu
* Encoding menu improvements, Part 4: The Rewrite.Christian Persch2003-10-189-377/+1062
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-18 Christian Persch <chpe@cvs.gnome.org> Encoding menu improvements, Part 4: The Rewrite. * data/glade/epiphany.glade: * data/ui/epiphany-ui.xml: * data/ui/nautilus-epiphany-view.xml.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_new), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/ephy-embed.c: (ephy_embed_get_encoding_info): * embed/ephy-embed.h: * embed/ephy-encodings.c: (ephy_encodings_get_type), (ephy_encodings_finalize), (ephy_encodings_class_init), (ephy_encodings_get_node), (ephy_encodings_get_encodings), (ephy_encodings_get_detectors), (ephy_encodings_get_all), (ephy_encodings_get_categories), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init), (ephy_encoding_info_free), (ephy_encodings_new): * embed/ephy-encodings.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_font_languages), (ephy_font_n_languages): * lib/ephy-langs.h: * src/Makefile.am: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (setup_filter), (sync_embed_cb), (sync_active_tab), (ephy_encoding_dialog_set_window), (activate_choice), (activate_automatic), (ephy_encoding_dialog_response_cb), (category_node_selected_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_finalize), (ephy_encoding_dialog_set_property), (ephy_encoding_dialog_get_property), (ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new): * src/ephy-encoding-dialog.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_init), (sort_encodings), (add_menu_item), (update_encoding_menu_cb), (encoding_activate_cb), (add_action), (ephy_encoding_menu_view_dialog_cb), (ephy_encoding_menu_automatic_cb), (ephy_encoding_menu_set_window), (ephy_encoding_menu_finalize), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new): * src/ephy-nautilus-view.c: (gnv_bonobo_control_activate_cb), (gnv_cmd_select_encoding), (gnv_cmd_edit_find): * src/ephy-window.c: (ephy_window_set_active_tab), (setup_notebook), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init): * src/language-editor.h: * src/pdm-dialog.c: (setup_passwords_treeview), (setup_cookies_treeview): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (fonts_language_info_cmp), (create_fonts_language_menu), (find_encoding_in_list_cmp), (sort_encodings), (create_optionmenu), (prefs_dialog_init): Made encodings menu dynamic, containing recently used items + items related to the currently active encoding. Split encodings out as a embed shell service, port all users over to that. Harvest all encoding info we can get from mozilla.
* Grab focus in the entry when showing because we dont rebuild the dialog.Marco Pesenti Gritti2003-10-171-2/+13
| | | | | | | | | | | 2003-10-17 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show), (ephy_bookmarks_editor_class_init), (ephy_bookmarks_editor_construct): Grab focus in the entry when showing because we dont rebuild the dialog.
* Change the behaviour of --nautilus-view such that the process doesn't exitMark McLoughlin2003-10-172-21/+43
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-16 Mark McLoughlin <mark@skynet.ie> Change the behaviour of --nautilus-view such that the process doesn't exit until the last control has been destroyed. The previous behaviour caused intermittent activation failure when the process timed out and died before the view could be created - bug #124768. * src/ephy-main.c: (ephy_main_start): don't unref the shell when started with --nautilus-view. (ephy_main_dummy_url_argument), (ephy_main_translate_url_arguments): create a dummy argument when no arguments are supplied which will cause the default window to be opened. * src/ephy-shell.c: (ephy_nautilus_view_all_controls_dead): unref the shell here causing the process to exit. (ephy_nautilus_view_init_factory): setup the all_controls_dead callback. (ephy_nautilus_view_new): instrument the control.
* *** empty log message ***Marco Pesenti Gritti2003-10-171-0/+2
|
* Merge new-downloader branch. We reworked the backend, the userMarco Pesenti Gritti2003-10-172-14/+5
| | | | interface is still incomplete.
* Make location a normal entry.Marco Pesenti Gritti2003-10-145-52/+3
| | | | | | | | | | | | | | | | | | | 2003-10-14 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_activate): * lib/widgets/ephy-location-entry.h: * src/ephy-history-window.c: (confirmation_dialog_response_cb): * src/ephy-location-action.c: (remove_completion_actions), (add_completion_actions), (connect_proxy), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/toolbar.c: * src/toolbar.h: Make location a normal entry.
* Encodings menu improvements, part 3: Refactored the encodings list; it noChristian Persch2003-10-142-66/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_encodings_submenu): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: (ephy_encoding_info_free), (encodings_info_cmp), (ephy_encodings_get_list): * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_lang_group_info_free), (lang_group_info_cmp), (ephy_lang_get_group_list), (fonts_language_info_cmp), (ephy_font_langs_get_codes_list), (ephy_font_langs_get_list): * lib/ephy-langs.h: * po/POTFILES.in: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window), (ephy_encoding_menu_rebuild): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (create_fonts_language_menu), (default_encoding_menu_changed_cb), (find_encoding_in_list_cmp), (create_default_encoding_menu): Encodings menu improvements, part 3: Refactored the encodings list; it no longer is neccessary to have it in the embed single. Ported all callers to new infrastructure.
* Port to new combo.Marco Pesenti Gritti2003-10-131-40/+50
| | | | | | | | | 2003-10-13 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_source), (import_dialog_response_cb), (cmd_bookmarks_import): Port to new combo.
* Port to new combo. Size is wrong, prolly a bug in combo size request, willMarco Pesenti Gritti2003-10-131-31/+20
| | | | | | | | | | 2003-10-13 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-history-window.c: (add_by_date_filter), (time_combo_changed_cb), (build_search_box), (save_date_filter): Port to new combo. Size is wrong, prolly a bug in combo size request, will look at it later.
* Merge completion branchMarco Pesenti Gritti2003-10-1210-145/+899
|
* Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, andChristian Persch2003-10-121-4/+65
| | | | | | | | | | | | | | | 2003-10-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding): * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-menu.c: (ephy_encoding_menu_verb_cb), (update_encoding_menu_cb), (ephy_encoding_menu_set_window): Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, and use it in the menu to indicate the encoding of the loaded page.
* Encodings menu improvements, part 1: Ported to new gtk ui manager api, andChristian Persch2003-10-112-199/+193
| | | | | | | | | | | | | | 2003-10-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type), (ephy_encoding_menu_verb_cb), (ephy_encoding_menu_init), (ephy_encoding_menu_set_window), (ephy_encoding_menu_set_property), (ephy_encoding_menu_get_property), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new), (ephy_encoding_menu_rebuild): * src/ephy-encoding-menu.h: Encodings menu improvements, part 1: Ported to new gtk ui manager api, and general code cleanups.
* Reenable deprecated api where necessary, fixup some header inclusions.Marco Pesenti Gritti2003-10-114-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* Allow dragging of tabs to a window even when the tabs bar is not shown.Christian Persch2003-10-061-21/+16
| | | | | | | | | | 2003-10-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (find_notebook_at_pointer), (ephy_notebook_init), (ephy_notebook_finalize): Allow dragging of tabs to a window even when the tabs bar is not shown. Fixes bug #123908.
* More granular filtering updateMarco Pesenti Gritti2003-10-061-13/+20
| | | | | | | | | | | | | | | | | | 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-history-window.c: (setup_filters), (site_node_selected_cb), (search_entry_search_cb), (time_optionmenu_changed_cb): More granular filtering update 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: (update_host_on_child_remove), (update_hosts), (page_removed_from_host_cb), (ephy_history_init), (ephy_history_finalize): Update host last visit when removing sites from it.
* update priv->select_node, signals are blocked so it would not be updatedMarco Pesenti Gritti2003-10-061-0/+1
| | | | | | | | | 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-history-window.c: (search_entry_search_cb): update priv->select_node, signals are blocked so it would not be updated otherwise
* Do not unselect all on single selection mode, to not generate useless nodeMarco Pesenti Gritti2003-10-061-0/+2
| | | | | | | | | | | | | | 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (did_not_drag): Do not unselect all on single selection mode, to not generate useless node selection changes. * src/ephy-history-window.c: (site_node_selected_cb): Do not refilter if the new selected node is the same as the old one.
* Use new gtk api for empty submenusMarco Pesenti Gritti2003-10-021-28/+8
| | | | | | | | | 2003-10-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): Use new gtk api for empty submenus
* Implement view menu.Marco Pesenti Gritti2003-09-301-1/+117
| | | | | | | | | | | | 2003-09-30 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-history-window-ui.xml: * src/ephy-history-window.c: (set_columns_visibility), (cmd_view_columns), (get_details_value), (ephy_history_window_construct): Implement view menu.
* Use ngettext.Christian Persch2003-09-301-4/+13
| | | | | | | | 2003-09-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (build_search_box): Use ngettext.
* More accurate description for Ever filter. Keep the backend as is, so weMarco Pesenti Gritti2003-09-301-6/+5
| | | | | | | | | | | 2003-09-30 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: * src/ephy-history-window.c: (build_search_box): More accurate description for Ever filter. Keep the backend as is, so we dont have to change it if we change history expire.
* The file picker dir can be NULL, check before trying to expand tilde.Marco Pesenti Gritti2003-09-281-7/+27
| | | | | | | | | | | | | | 2003-09-28 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: The file picker dir can be NULL, check before trying to expand tilde. * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb), (cmd_bookmarks_import): Implement import from a file
* Offer to import from Firebird too.Christian Persch2003-09-272-3/+6
| | | | | | | | | 2003-09-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Offer to import from Firebird too.
* Simpler implementation.Marco Pesenti Gritti2003-09-271-1/+1
| | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_get_pixbuf_from_mime_type): Simpler implementation. * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): * src/ephy-shell.c: (ephy_shell_init): Pass 0 as flags
* Use gtkicontheme, and use it also for mime icons.Marco Pesenti Gritti2003-09-271-10/+15
| | | | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-gui.c: (make_mime_name), (ephy_gui_get_pixbuf_from_mime_type): * lib/ephy-gui.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_theme_changed), (ephy_spinner_load_images), (ephy_spinner_finalize): * src/ephy-shell.c: (ephy_shell_init): Use gtkicontheme, and use it also for mime icons.
* Implement history time filterMarco Pesenti Gritti2003-09-271-52/+223
| | | | | | | | | | | | | | | 2003-09-26 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: * lib/ephy-node-filter.c: (ephy_node_filter_evaluate): * src/ephy-history-window.c: (ephy_history_window_finalize), (add_by_site_filter), (add_by_date_filter), (add_by_word_filter), (setup_filters), (site_node_selected_cb), (search_entry_search_cb), (time_optionmenu_changed_cb), (build_search_box), (ephy_history_window_construct), (save_date_filter), (ephy_history_window_dispose): Implement history time filter
* Remove unused includes, they was causing warnings on solarisMarco Pesenti Gritti2003-09-271-3/+0
| | | | | | | | 2003-09-26 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: Remove unused includes, they was causing warnings on solaris
* *** empty log message ***Marco Pesenti Gritti2003-09-252-7/+1
|
* Fix spacing ... when gtkdialog will be higgy ...Marco Pesenti Gritti2003-09-251-1/+2
| | | | | | | | | 2003-09-25 Marco Pesenti Gritti <marco@gnome.org> * data/glade/epiphany.glade: * src/ephy-history-window.c: (confirmation_dialog_construct): Fix spacing ... when gtkdialog will be higgy ...
* Remove --server mode. It was a dirty hack anyway, and had a crasher whenChristian Persch2003-09-252-19/+2
| | | | | | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_quit): * src/ephy-main.c: (ephy_main_start): Remove --server mode. It was a dirty hack anyway, and had a crasher when loggin out from gnome-session. Sort of fixes bug #123047. Flames will be redirected > /dev/null .
* Don't destroy the session when all windows are closed.Christian Persch2003-09-252-31/+4
| | | | | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_session): * src/session.c: (session_new), (save_tab), (parse_embed), (session_remove_window): Don't destroy the session when all windows are closed.
* Simplify and solve bugs by using a checkbox with radio appeareance. ThatMarco Pesenti Gritti2003-09-243-10/+7
| | | | | | | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_set_active_tab): Simplify and solve bugs by using a checkbox with radio appeareance. That way we can get rid of groups that doesnt really work well for our needs.
* Remove also from the groupMarco Pesenti Gritti2003-09-241-3/+5
| | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tabs-menu.c: (tab_removed_cb): Remove also from the group
* Do not use _ as accellerators in bookmarks menus.Marco Pesenti Gritti2003-09-243-10/+27
| | | | | | | | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-string.c: (ephy_string_double_underscores): * lib/ephy-string.h: * src/bookmarks/ephy-bookmark-action.c: (sync_bookmark_properties): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild): * src/bookmarks/ephy-topic-action.c: (create_menu_item), (sync_topic_properties): Do not use _ as accellerators in bookmarks menus.
* Dave Bordoley <bordoley@msu.edu>Marco Pesenti Gritti2003-09-244-48/+78
| | | | | | | | | | | | | | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> Dave Bordoley <bordoley@msu.edu> * src/ephy-tab.c: (ephy_tab_action_activate_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (ephy_tabs_menu_set_window), (ephy_tabs_menu_set_property), (ephy_tabs_menu_class_init), (ephy_tabs_menu_init), (ephy_tabs_menu_clean), (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_set_active_tab), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb): Use radio buttons for tabs menu. Do not recreate the action group every time but keep it synced. * src/ephy-notebook.c: (ephy_notebook_insert_page): Emit added signal before activating the page.
* Fix topic labels.Christian Persch2003-09-241-1/+1
| | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (sync_topic_properties): Fix topic labels.
* Use Bookmarks instead of All as labelMarco Pesenti Gritti2003-09-241-2/+13
| | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (sync_topic_properties): Use Bookmarks instead of All as label
* Save session when windows are removedMarco Pesenti Gritti2003-09-241-0/+2
| | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/session.c: (session_remove_window): Save session when windows are removed
* Check for NULL return of gtk_get_current_event. Fixes bug #123063.Christian Persch2003-09-241-10/+13
| | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_view_reload): Check for NULL return of gtk_get_current_event. Fixes bug #123063.
* Refactor initialization/automation code. Now all the code used by theMarco Pesenti Gritti2003-09-244-64/+55
| | | | | | | | | | | | | | | 2003-09-23 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-automation.c: (ephy_automation_factory_new): * src/ephy-automation.h: * src/ephy-main.c: (main), (ephy_main_start): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize): Refactor initialization/automation code. Now all the code used by the first instance is in ephy_shell, all the code used by other instances is in ephy_main. Unref the factory before quitting so we dont risk new automation object are created and used with a dead shell.
* Correct popup path; fixes context menu on topics.Christian Persch2003-09-231-1/+1
| | | | | | | | | 2003-09-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (keyword_node_show_popup_cb): Correct popup path; fixes context menu on topics.
* *** empty log message ***Marco Pesenti Gritti2003-09-231-1/+1
|
* Complete view menu impl. There is a gtk bug that make it behave funnilyMarco Pesenti Gritti2003-09-221-6/+57
| | | | | | | | | | | | | 2003-09-22 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: * src/bookmarks/ephy-bookmarks-editor.c: (set_columns_visibility), (cmd_view_columns), (get_details_value), (ephy_bookmarks_editor_construct): Complete view menu impl. There is a gtk bug that make it behave funnily and the schemas does not work correctly (though I cant see any problem with, maybe it's something borked here ...)
* Implement a way to choose visible column in a menu. Not finished I need toMarco Pesenti Gritti2003-09-211-17/+56
| | | | | | | | | | | | 2003-09-21 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml: * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_view_columns), (ephy_bookmarks_editor_construct): Implement a way to choose visible column in a menu. Not finished I need to persist state in a gconf key.
* Fix directory selection persistence [bug #122780].Christian Persch2003-09-201-22/+21
| | | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed-single.cpp: * src/window-commands.c: (window_cmd_file_open): Fix directory selection persistence [bug #122780].
* Remember the address in the location action, so we can restore it when weChristian Persch2003-09-205-137/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (ephy_location_entry_activation_finished), (location_focus_out_cb), (ephy_location_entry_init), (ephy_location_ignore_prefix), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_activate), (ephy_location_entry_editable_changed_cb), (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (location_url_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (disconnect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_activate), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize), (ephy_location_action_get_address), (ephy_location_action_set_address), (clear_history), (ephy_location_action_clear_history): * src/ephy-location-action.h: * src/toolbar.c: (toolbar_class_init), (toolbar_set_property), (sync_user_input_cb), (toolbar_setup_actions), (toolbar_set_window), (toolbar_init), (toolbar_finalize), (toolbar_new), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Remember the address in the location action, so we can restore it when we get a new proxy widget. Do some misc cleanups on location entry, removing finished signal; move activation from toolbar into location entry.
* Do not fail if prefs.js is corrupted.Marco Pesenti Gritti2003-09-201-2/+7
| | | | | | | | | | | | 2003-09-20 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not fail if prefs.js is corrupted. * src/ephy-window.c: (ephy_window_state_event_cb): Do not allow to edit toolbar in fs
* Add an --import-bookmarks command line option, and really implement theChristian Persch2003-09-192-0/+28
| | | | | | | | | | | | | 2003-09-19 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_add_bookmark), (impl_ephy_automation_import_bookmarks), (ephy_automation_class_init): * src/ephy-main.c: (ephy_main_start): Add an --import-bookmarks command line option, and really implement the --add-bookmark one.
* *** empty log message ***Marco Pesenti Gritti2003-09-192-2/+2
|
* Do not use .in for not to translate files.Marco Pesenti Gritti2003-09-196-40/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-19 Marco Pesenti Gritti <marco@gnome.org> * data/ui/Makefile.am: * data/ui/epiphany-bookmark-editor-ui.xml.in: * data/ui/epiphany-fs-toolbar.xml: * data/ui/epiphany-history-window-ui.xml.in: * data/ui/epiphany-toolbar.xml.in: * data/ui/epiphany-ui.xml.in: Do not use .in for not to translate files. * lib/egg/egg-editable-toolbar.c: (create_toolbar), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge): * lib/egg/egg-toolbars-model.c: (parse_toolbars): Handle change of properties correctly. Add a toolbar style property in the xml. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_init): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen): * src/toolbar.c: (bookmark_destroy_cb), (toolbar_ensure_action), (init_bookmarks_toolbar), (init_normal_mode), (init_fullscreen_mode), (window_state_event_cb), (toolbar_set_window), (toolbar_set_visibility): * src/toolbar.h: * src/window-commands.c: (toolbar_editor_response_cb), (window_cmd_edit_toolbar): Special, more compact, toolbar layout for fullscreen.
* correct toolitem typeMarco Pesenti Gritti2003-09-191-1/+1
| | | | | | | | 2003-09-18 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-favicon-action.c: (ephy_favicon_action_class_init): correct toolitem type
* Fix warning with new gtkMarco Pesenti Gritti2003-09-181-1/+1
| | | | | | | | 2003-09-18 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-encoding-menu.c: (ephy_encoding_menu_rebuild): Fix warning with new gtk
* Refactor node db loading functions into a common one in ephy-node-db.Christian Persch2003-09-181-42/+6
| | | | | | | | | | | | | | 2003-09-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_init): * lib/ephy-node-db.c: (ephy_node_db_load_from_file): * lib/ephy-node-db.h: * lib/ephy-state.c: (ensure_states): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Refactor node db loading functions into a common one in ephy-node-db. Switch to using xmlReader api.
* *** empty log message ***Marco Pesenti Gritti2003-09-171-1/+1
|
* Adapt to changed GtkActionGroup api.Christian Persch2003-09-172-15/+36
| | | | | | | | | | 2003-09-16 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-window.c: (setup_window): Adapt to changed GtkActionGroup api.
* Added MOZ_PLUGIN_PATH default. Added migration from galeon settings.Christopher James Lahey2003-09-171-0/+18
| | | | | | | 2003-09-16 Christopher James Lahey <clahey@ximian.com> * src/epiphany.in: Added MOZ_PLUGIN_PATH default. Added migration from galeon settings.
* Really use the translated names of the default topics and bookmarks whenChristian Persch2003-09-171-4/+3
| | | | | | | | | 2003-09-16 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults): Really use the translated names of the default topics and bookmarks when creating them.
* ephy_new_bookmark_construct):Christian Persch2003-09-171-1/+1
| | | | | | | | 2003-09-16 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: ephy_new_bookmark_construct): HIGgify dialogue title. Fixes bug 119710.
* *** empty log message ***Marco Pesenti Gritti2003-09-161-1/+1
|
* Activate the embed when necessary.Marco Pesenti Gritti2003-09-161-0/+11
| | | | | | | | 2003-09-15 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (ephy_window_load_url): Activate the embed when necessary.
* Enable dragging the tab from a single-tab window too.Christian Persch2003-09-161-35/+22
| | | | | | | | | | | | | 2003-09-15 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (drag_start), (drag_stop), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_init): Enable dragging the tab from a single-tab window too. Correctly honour the drag threshold when starting a drag (ported from galeon, tanks go to Crispin).