aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix bookmarks toolbar visibility in fullscreen and print preview mode, asChristian Persch2004-04-011-18/+21
| | | | | | | | | | | | | | | 2004-04-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (get_default_chrome), (ephy_window_init), (sync_prefs_with_chrome), (ephy_window_view_bookmarksbar_cb): Fix bookmarks toolbar visibility in fullscreen and print preview mode, as well as for javascript popups. Fixes bug #138520.
* Make buttons the same size in Industrial theme and make text selectable.Piers Cornwell2004-03-311-3/+3
| | | | | | | | | 2004-03-30 Piers Cornwell <piers@gnome.org> * src/ephy-history-window.c: (confirmation_dialog_construct): Make buttons the same size in Industrial theme and make text selectable.
* Remove Open Image in New Tab and New Window from the context menu.Christian Persch2004-03-303-50/+0
| | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/popup-commands.c: * src/popup-commands.h: * data/ui/epiphany-ui.xml: Remove Open Image in New Tab and New Window from the context menu.
* Removed the nautilus view.Christian Persch2004-03-304-724/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/.cvsignore: * data/GNOME_Epiphany_NautilusView.server.in: * data/Makefile.am: * data/ui/.cvsignore: * data/ui/Makefile.am: * data/ui/nautilus-epiphany-view.xml: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-popup-control.c: * embed/ephy-embed-popup-control.h: * lib/Makefile.am: * lib/ephy-bonobo-extensions.c: * lib/ephy-bonobo-extensions.h: * po/POTFILES.in: * src/Makefile.am: * src/ephy-nautilus-view.c: * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_automation_factory_cb): Removed the nautilus view. 2004-03-29 Christian Persch <chpe@cvs.gnome.org>
* Make EphyCompletionColumn a typedef enum, fixes bug #136878.Christian Persch2004-03-301-1/+1
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-completion-model.h: Make EphyCompletionColumn a typedef enum, fixes bug #136878.
* Fixes #138263.Federico Mena Quintero2004-03-303-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Federico Mena Quintero <federico@ximian.com> Fixes #138263. * lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead. * lib/ephy-file-chooser.c (ephy_file_chooser_new): Use GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*. * embed/print-dialog.c (print_filechooser_response_cb): Likewise. * src/bookmarks/ephy-bookmarks-editor.c (import_from_file_response_cb): Likewise. * src/prefs-dialog.c (download_path_response_cb): Likewise. * src/window-commands.c (open_response_cb): Likewise. * embed/mozilla/ContentHandler.cpp (PromptForSaveToFile): Likewise. * embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb): Likewise. * embed/mozilla/FilePicker.cpp (Init): Likewise. (Show): Likewise.
* Test with -d, fixes bug #138088.Christian Persch2004-03-291-1/+1
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.in: Test with -d, fixes bug #138088.
* Fix opening in new tabs when there is no existing window. Fixes bugChristian Persch2004-03-291-2/+13
| | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_open_bookmarks_in_tabs): Fix opening in new tabs when there is no existing window. Fixes bug #138343.
* Use verb for action button and various minor tidy ups.Piers Cornwell2004-03-281-11/+17
| | | | | | | | 2004-03-27 Piers Cornwell <piers@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Use verb for action button and various minor tidy ups.
* Log context of event in debug mode.Christian Persch2004-03-271-0/+2
| | | | | | | | 2004-03-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (show_embed_popup): Log context of event in debug mode.
* Correctly disconnect the handler not from the proxy but from the entryChristian Persch2004-03-271-6/+9
| | | | | | | | | | 2004-03-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (location_url_activate_cb), (disconnect_proxy), (ephy_location_action_set_address): Correctly disconnect the handler not from the proxy but from the entry itself. Rationalise away one strdup.
* Fix duplicate accesskey, use correct case for button text and make messagePiers Cornwell2004-03-271-1/+2
| | | | | | | | | 2004-03-26 Piers Cornwell <piers@gnome.org> * src/ephy-window.c: (confirm_close_with_modified_forms): Fix duplicate accesskey, use correct case for button text and make message selectable.
* Documented EphyEmbedAdam Hooper2004-03-263-11/+11
|
* Tiny doc fixes.Christian Persch2004-03-242-4/+2
| | | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: * src/ephy-window.c: Tiny doc fixes.
* Get rid of ephy_tab_[get|set]_window().Christian Persch2004-03-244-88/+25
| | | | | | | | | | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_get_window), (ephy_tab_action_activate_cb), (ephy_tab_class_init), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (tab_context_menu_cb), (ephy_window_set_active_tab): * src/ephy-window.h: Get rid of ephy_tab_[get|set]_window().
* Fix the build, bad noda :PChristian Persch2004-03-241-1/+1
| | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_visibility_cb): Fix the build, bad noda :P
* Make the "Go" button actually work. Thanks to aes for alerting us to thisChristian Persch2004-03-241-0/+23
| | | | | | | | | | 2004-03-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-go-action.c: (connect_proxy), (disconnect_proxy), (ephy_go_action_class_init): Make the "Go" button actually work. Thanks to aes for alerting us to this problem.
* Documented EphyTabAdam Hooper2004-03-242-19/+201
|
* API documentationAdam Hooper2004-03-242-6/+128
|
* the xbel mime type is now application/x-xbelMarco Pesenti Gritti2004-03-221-1/+1
| | | | | | | | 2004-03-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): the xbel mime type is now application/x-xbel
* Forgot to s/logo/icon/g.Christian Persch2004-03-211-6/+6
| | | | | | | | 2004-03-21 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Forgot to s/logo/icon/g.
* Set window icon. Fixes bug #137806.Christian Persch2004-03-211-0/+2
| | | | | | | | 2004-03-21 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Set window icon. Fixes bug #137806.
* R data/epiphany-1.2.pc.in: A data/epiphany-1.4.pc.in:Christian Persch2004-03-211-1/+1
| | | | | | | | | | | | | 2004-03-21 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/Makefile.am: R data/epiphany-1.2.pc.in: A data/epiphany-1.4.pc.in: * src/Makefile.am: Make epiphany-extensions for epiphany 1.3 parallel-installable with those for epiphany 1.2.
* Don't try to unref NULL icon. Fixes bug #137715.Christian Persch2004-03-201-2/+5
| | | | | | | | 2004-03-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon): Don't try to unref NULL icon. Fixes bug #137715.
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-196-292/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling.
* Make secure description better (Bug #136443).Piers Cornwell2004-03-192-3/+3
| | | | | | | | | | | | | | | | 2004-03-18 Piers Cornwell <piers@gnome.org> * src/pdm-dialog.c: (show_cookies_properties): Make secure description better (Bug #136443). * src/window-commands.c: (window_cmd_help_about): Add my email address. * embed/mozilla/GtkNSSDialogs.cpp: Include nsReadableUtils.h.
* Add firefox option in bookmarks import dialogue.Christian Persch2004-03-183-1/+5
| | | | | | | | | | 2004-03-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Add firefox option in bookmarks import dialogue.
* *** empty log message ***Marco Pesenti Gritti2004-03-1726-14/+68
|
* Check if the dragged item is a separator. Fixes crash when it _is_ aChristian Persch2004-03-091-1/+20
| | | | | | | | | | | | | | | | | | | | 2004-03-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (editor_drag_data_received_cb): Check if the dragged item is a separator. Fixes crash when it _is_ a separator. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_remove_toolbar): Fix logic check for removable toolbar, & instead of &&. * src/ephy-location-action.c: (create_menu_proxy_cb), (connect_proxy), (ephy_location_action_activate): Don't make a proxy menu item for the location entry. Fixes crash when trying to activate its proxy menu item.
* Really always check the return value of xmlTextReaderRead(), don't advanceChristian Persch2004-03-071-32/+51
| | | | | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Really always check the return value of xmlTextReaderRead(), don't advance if it's != 1. Fixes bug #136151.
* Fix crash when dragging a link to a tab label; I forgot to change thisChristian Persch2004-03-071-5/+4
| | | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Fix crash when dragging a link to a tab label; I forgot to change this making the recent EphyTab/EphyEmbed changes.
* Persist changed accels with gnome_accelerator_sync().Christian Persch2004-03-061-0/+2
| | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Persist changed accels with gnome_accelerator_sync().
* Don't use ephy_tab_get_embed(), instead use the pointer provided when weChristian Persch2004-03-051-20/+18
| | | | | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_net_state_cb), (clipboard_text_received_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): Don't use ephy_tab_get_embed(), instead use the pointer provided when we connected the callbacks. Hopefully fixes bug #136122.
* Don't set the 5-star icon as window icon for the about dialogue. Fixes bugChristian Persch2004-03-051-8/+0
| | | | | | | | | 2004-03-04 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Don't set the 5-star icon as window icon for the about dialogue. Fixes bug #135010.
* Copy and modify gnome_vfs_uri_list_parse() so that we get a list of stringChristian Persch2004-03-042-10/+3
| | | | | | | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (uri_list_parse), (drag_data_received_cb): Copy and modify gnome_vfs_uri_list_parse() so that we get a list of string uris instead of GnomeVFSURIs. Change signature of ::node-dropped accordingly. Fixes bug #120231. * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): Adapt to the changed ::node-dropped signal signature.
* If the favicon isn't ready when we need it, connect to the favicon cache'sChristian Persch2004-03-031-1/+29
| | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (favicon_cache_changed_cb), (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_init): If the favicon isn't ready when we need it, connect to the favicon cache's ::changed signal to show it when we have it. Fixes bug #135855.
* Do not show the unsubmitted dialog for js closeMarco Pesenti Gritti2004-03-031-1/+6
| | | | | | | | 2004-03-02 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (ephy_tab_destroy_brsr_cb): Do not show the unsubmitted dialog for js close
* Never show two resume dialogs, just re-present the old one.Marco Pesenti Gritti2004-03-021-2/+15
| | | | | | | | | 2004-03-02 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (ephy_session_init), (offer_to_resume), (ephy_session_autoresume): Never show two resume dialogs, just re-present the old one.
* Don't try to backup non-existing files :) Also, when neitherChristian Persch2004-03-021-3/+13
| | | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (backup_file), (ephy_bookmarks_init): Don't try to backup non-existing files :) Also, when neither ephy-bookmarks.xml nor bookmarks.rdf exist, assume we have a new profile and don't warn about missing bookmarks.
* Correctly sync the smarturl property of EphyBookmarksAction when itChristian Persch2004-03-021-0/+30
| | | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (smart_child_added_cb), (smart_child_removed_cb), (ephy_bookmark_action_init): Correctly sync the smarturl property of EphyBookmarksAction when it changes. Fixes incorrect show/hide of the entry on the bookmarks toolbar.
* When changing a bookmark address and it was a smart bookmark but now isChristian Persch2004-03-021-1/+1
| | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (update_has_smart_address): When changing a bookmark address and it was a smart bookmark but now is not anymore, remove the bookmark from the smart_bmks node instead of adding it :)
* Ensure we always have a BookmarksBar toolbar in the model. Fixes bugChristian Persch2004-03-021-24/+31
| | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbars-model.c: (get_toolbar_pos), (ephy_toolbars_model_set_bookmarks): Ensure we always have a BookmarksBar toolbar in the model. Fixes bug #135701.
* Add API docs.Christian Persch2004-03-021-6/+38
| | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: Add API docs.
* If reading the bookmarks file, or re-importing the bookmarks from the rdfChristian Persch2004-03-021-0/+40
| | | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (backup_file), (ephy_bookmarks_init): If reading the bookmarks file, or re-importing the bookmarks from the rdf file fails, back up those files so that the user can afterwards try to manually recover his bookmarks. Fixes bug #128308.
* Fix XBEL importer not to tag all bookmarks with a "Bookmarks" category.Christian Persch2004-03-021-4/+92
| | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Fix XBEL importer not to tag all bookmarks with a "Bookmarks" category.
* Export ephy_statusbar_add_widget() for use by extensions.Christian Persch2004-03-012-3/+16
| | | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (create_statusbar_security_icon), (ephy_statusbar_add_widget): * src/ephy-statusbar.h: Export ephy_statusbar_add_widget() for use by extensions.
* Separately profile bookmarks menu clean and rebuild.Christian Persch2004-02-291-2/+6
| | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_clean), (ephy_bookmarks_menu_rebuild): Separately profile bookmarks menu clean and rebuild.
* Fix order of the windows, they was reversed before.Marco Pesenti Gritti2004-02-291-2/+2
| | | | | | | | | 2004-02-29 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (impl_attach_window), (ephy_session_add_window): Fix order of the windows, they was reversed before.
* fix typo that was causing categorized bookmarks to go in the uncategorizedMarco Pesenti Gritti2004-02-291-1/+1
| | | | | | | | | 2004-02-28 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks.c: (topics_removed_cb): fix typo that was causing categorized bookmarks to go in the uncategorized topic (Bug #135702)
* If a folder has no name, don't tag its bookmarks with "Untitled" keyword,Christian Persch2004-02-291-3/+6
| | | | | | | | | | 2004-02-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (ephy_bookmarks_import_xbel): If a folder has no name, don't tag its bookmarks with "Untitled" keyword, just skip it.
* Add missing check for Firebird bookmarks, patch by André Dahlqvist.Xan Lopez2004-02-281-1/+2
| | | | Add missing check for Firebird bookmarks, patch by André Dahlqvist.
* Fix for gtk+ filechooser API change.Christian Persch2004-02-271-2/+1
| | | | | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_init), (ephy_file_chooser_new): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): Fix for gtk+ filechooser API change.
* Fix potential crash.Christian Persch2004-02-271-2/+7
| | | | | | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ns_parse_bookmark_item): Fix potential crash. (ephy_bookmarks_import_mozilla): Fix mem leak.
* Replace entities also in folder names, fixes bug #135440.Christian Persch2004-02-271-1/+1
| | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Replace entities also in folder names, fixes bug #135440.
* Do not show about:blank to the user, an empty address bar will do better.Marco Pesenti Gritti2004-02-261-2/+15
| | | | | | | | | | | 2004-02-26 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (ephy_tab_address_cb), (ensure_page_info): Do not show about:blank to the user, an empty address bar will do better. When the address bar is empty (no page or blank page is loaded) set the address before loading succeeded.
* Check for NULL before converting filename to UTF-8.Christian Persch2004-02-251-10/+13
| | | | | | | | 2004-02-25 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (open_response_cb): Check for NULL before converting filename to UTF-8.
* Change this back to simply do g_idle_add(), accidentally forgot to revertChristian Persch2004-02-251-13/+3
| | | | | | | | | 2004-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (let_me_resize_hack), (ephy_tab_size_to_cb): Change this back to simply do g_idle_add(), accidentally forgot to revert my change.
* Unescape filenames whenever possible.Xan Lopez2004-02-251-1/+1
| | | | Unescape filenames whenever possible.
* Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.Christian Persch2004-02-2511-264/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-notebook.c: (ephy_notebook_class_init), (tab_label_size_request_cb), (ephy_notebook_move_tab), (move_tab), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (close_button_clicked_cb), (build_tab_label), (ephy_notebook_insert_tab), (smart_tab_switching_on_closure), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-session.c: (tab_added_cb), (tab_removed_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_get_type), (ephy_tab_size_allocate), (ephy_tab_parent_set), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_new), (ephy_tab_get_embed), (ephy_tab_for_embed), (ephy_tab_new_window_cb), (let_me_resize_hack), (ephy_tab_visibility_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (ephy_tabs_menu_set_window), (ephy_tabs_menu_update): * src/ephy-window.c: (tab_added_cb), (tab_removed_cb), (tab_detached_cb), (tabs_reordered_cb), (tab_delete_cb), (setup_notebook), (ephy_window_add_tab), (ephy_window_jump_to_tab), (real_get_active_tab), (ephy_window_remove_tab), (ephy_window_get_active_tab), (ephy_window_get_active_embed), (ephy_window_get_tabs): * src/ephy-window.h: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right), (window_cmd_tabs_detach): Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.
* Do not use gnome vfs to check the scheme because it can handle onlyMarco Pesenti Gritti2004-02-241-17/+9
| | | | | | | | | 2004-02-24 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (address_has_web_scheme): Do not use gnome vfs to check the scheme because it can handle only supported methods.
* Actually remove nsUnicharUtils.*Marco Pesenti Gritti2004-02-211-1/+0
| | | | | | | | | | | | | | | | | 2004-02-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: Actually remove nsUnicharUtils.* * embed/mozilla/mozilla-embed-persist.cpp: Use our helper to construct tmp file name: fix security issue. * src/window-commands.c: (save_temp_source): Cosmetic change
* Ensure that there are no more chars after the last /. Cut down number ofMarco Pesenti Gritti2004-02-211-5/+8
| | | | | | | | | | 2004-02-20 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (is_base_address), (init_relevance_col): Ensure that there are no more chars after the last /. Cut down number of visists properly.
* s/EphyExtensionClass/EphyExtensionIface/gChristian Persch2004-02-174-14/+14
| | | | | | | | | | | | | 2004-02-17 Christian Persch <chpe@cvs.gnome.org> * 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_iface_init): * src/ephy-session.c: (ephy_session_iface_init): s/EphyExtensionClass/EphyExtensionIface/g
* Install the statusbar .h file.Christian Persch2004-02-135-247/+232
| | | | | | | | | | | | | | | | | | | | 2004-02-13 Christian Persch <chpe@cvs.gnome.org> * doc/reference/Makefile.am: * src/Makefile.am: Install the statusbar .h file. R src/statusbar.[ch]: A src/ephy-statusbar.[ch]: s/statusbar/ephy-statusbar/ and friends. * src/ephy-window.c: (sync_tab_load_progress), (sync_tab_security), (ephy_window_init): Change references from statusbar to ephy-statusbar. Remove selection-received stuff, since it now lives in EphyTab.
* Unify fallback downloads dir to get the home directory.Christian Persch2004-02-131-11/+10
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): Unify fallback downloads dir to get the home directory.
* Fix numerous places where we weren't properly converting between UTF-8 andChristian Persch2004-02-132-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_class_init), (favicon_name_build), (favicon_download_completed_cb), (ephy_favicon_cache_get): * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_set_persist_key): * lib/ephy-file-helpers.c: (ephy_file_downloads_dir): * src/popup-commands.c: (popup_cmd_set_image_as_background): * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Fix numerous places where we weren't properly converting between UTF-8 and filename encoding. * embed/ephy-favicon-cache.c: Bump favicon cache xml version. * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak, and use CONF_STATE_SAVE_DIR instead of the download dir key for directory persistence.
* 2004-02-12 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-02-132-0/+12
| | | | | | * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf):
* Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548.Christian Persch2004-02-131-1/+9
| | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * configure.in: Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548. * src/ephy-main.c: (main): Use LIBXML_TEST_VERSION to check for API compatibility.
* Increase bookmarks format version.Christian Persch2004-02-121-1/+1
| | | | | | | | 2004-02-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: Increase bookmarks format version.
* Update bookmarks keywordsMarco Pesenti Gritti2004-02-121-0/+1
| | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add): Update bookmarks keywords
* Do not load js urls when middle clicked.Marco Pesenti Gritti2004-02-121-7/+5
| | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (open_link_in_new_tab), (ephy_tab_dom_mouse_click_cb): Do not load js urls when middle clicked.
* CleanupMarco Pesenti Gritti2004-02-111-1/+1
| | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Cleanup * src/bookmarks/ephy-bookmarks.c: Increase format version
* *** empty log message ***Marco Pesenti Gritti2004-02-116-52/+80
|
* Better autocompletion sorting logic.Marco Pesenti Gritti2004-02-112-13/+48
| | | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (is_base_address), (init_relevance_col): Better autocompletion sorting logic. * src/window-commands.c: (window_cmd_help_about): s/translator_credits/translator-credits
* Show the title of the bookmark, not the addressMarco Pesenti Gritti2004-02-111-1/+1
| | | | | | | | 2004-02-10 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-completion-model.c: (init_text_col): Show the title of the bookmark, not the address
* Fix the fix for the epiphany equivalent of bug #133633. Don't convert theChristian Persch2004-02-101-5/+38
| | | | | | | | | | | 2004-02-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (clipboard_text_received_cb), (ephy_tab_dom_mouse_click_cb): Fix the fix for the epiphany equivalent of bug #133633. Don't convert the clipboard contents directly as the souurce may not offer UTF-8 text. Instead request the contents, and gtk+ will convert it for us.
* Make middle-click paste work with urls with IDN domain names. Fixes theChristian Persch2004-02-071-1/+2
| | | | | | | | | 2004-02-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Make middle-click paste work with urls with IDN domain names. Fixes the epiphany equivalent of galeon bug 133633.
* Make warning message selectable per hig.Piers Cornwell2004-02-051-0/+2
| | | | | | | | 2004-02-05 Piers Cornwell <piers@cvs.gnome.org> * src/ephy-session.c: (offer_to_resume): Make warning message selectable per hig.
* No need to connect to the toolitem's create-menu-proxy signal, gtk+ doesChristian Persch2004-02-052-49/+2
| | | | | | | | | | 2004-02-05 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-topic-action.c: (connect_proxy): No need to connect to the toolitem's create-menu-proxy signal, gtk+ does it for us.
* gtk+ now connects the tool item's create_menu_proxy to the action'sChristian Persch2004-02-051-79/+7
| | | | | | | | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-go-action.c: (ephy_go_action_get_type), (create_tool_item), (ephy_go_action_class_init): gtk+ now connects the tool item's create_menu_proxy to the action's create_menu_item, so we don't need to do it ourselves. Also unnecessary to do connect_proxy. The go action is now almost empty, we should really see if we can use a stock gtktoolbutton for it. 2004-02-04 Christian Persch <chpe@cvs.gnome.org>
* 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.