aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compile warnings.Christian Persch2005-08-261-1/+1
| | | | | | | | 2005-08-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event): Fix compile warnings.
* Use class closure for delete event instead of signal handler.Christian Persch2005-08-211-6/+11
| | | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event), (ephy_window_class_init), (ephy_window_init): Use class closure for delete event instead of signal handler.
* Add switch to disable focus fix, and to disable PSM. Error out if PSMChristian Persch2005-08-081-1/+1
| | | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add switch to disable focus fix, and to disable PSM. Error out if PSM isn't found but --disable-psm not given. Should prevent accidental compilation without PSM. * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_entry): * lib/widgets/ephy-icon-entry.h: Add ephy_icon_entry_get_entry. * src/epiphany.defs: Updated python bindings.
* Fix stringChristian Persch2005-08-041-1/+1
|
* Add public function ephy_window_get_context_event() to get theChristian Persch2005-08-041-15/+83
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (popup_menu_at_coords), (idle_unref_context_event), (set_context_event), (embed_popup_deactivate_cb), (get_name_from_address_value), (show_embed_popup), (ephy_window_dispose), (ephy_window_get_is_print_preview), (ephy_window_get_context_event): * src/ephy-window.h: * src/epiphany.defs: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_bookmark_link), (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_open_link), (popup_cmd_set_image_as_background), (popup_cmd_copy_image_location), (popup_cmd_open_image): Add public function ephy_window_get_context_event() to get the EphyEmbedEvent for the current popup menu, instead of using an undocument g_object_get_data() call. Also fixes bug #310910. Don't printf NULL; fixes bug #309796.
* Now that the tab's address is always correct (isn't the typed addressChristian Persch2005-08-021-3/+2
| | | | | | | | | | | | | | | | | | 2005-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (get_location_cb): * src/ephy-session.c: (write_tab): * src/ephy-tab.c: * src/ephy-window.c: (modal_alert_cb): * src/prefs-dialog.c: (set_homepage_entry), (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Now that the tab's address is always correct (isn't the typed address anymore), always use ephy_tab_get_address instead of ephy_embed_get_location, since the former also gets the right address when the page loading but still blank. Should fix bug #147840.
* Add a ::icon property to EphyTab, and use that everywhere instead ofChristian Persch2005-08-011-24/+9
| | | | | | | | | | | | | | | | | | | | | | 2005-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (sync_icon), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize): * src/ephy-notebook.c: (sync_icon): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_load_icon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_tab_get_icon), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-toolbar.c: (ephy_toolbar_set_favicon): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_tab_icon): Add a ::icon property to EphyTab, and use that everywhere instead of querying the icon cache, thus saving memory.
* Tiny string fix. Fixes bug #167448.Christian Persch2005-08-011-1/+1
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Tiny string fix. Fixes bug #167448.
* Replace ephy_embed_activate with gtk_widget_grab_focusCrispin Flowerday2005-07-301-2/+2
| | | | | | | | | | | | | | | | 2005-07-29 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c: (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_grab_focus): * src/ephy-window.c: (ephy_window_key_press_event), (ephy_window_open_link): * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Replace ephy_embed_activate with gtk_widget_grab_focus
* For empty pages, put focus in address bar.Christian Persch2005-07-291-1/+9
| | | | | | | | 2005-07-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_open_link): For empty pages, put focus in address bar.
* Fix ESC behaviour to always stop, and to reset the location entry whenChristian Persch2005-07-261-6/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (update_address_state), (update_favicon), (editable_changed_cb), (entry_button_press_cb), (match_selected_cb), (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_location), (ephy_location_entry_reset), (ephy_location_entry_set_favicon): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (entry_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_finalize), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/ephy-lockdown.c: (update_location_editable): * src/ephy-tab.c: (ephy_tab_get_typed_address): * src/ephy-toolbar.c: (ephy_toolbar_set_location): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_key_press_event), (sync_tab_address), (ephy_window_set_active_tab), (modal_alert_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_view_stop): Fix ESC behaviour to always stop, and to reset the location entry when it's focused only. Reset the location entry favicon to the stock icon when the address shown is != the tab's address. When switching tab, preserve the selection if it was owned by the location entry. Fixes bug #155824.
* Set title of loading page to the address, iff the page was blank before.Christian Persch2005-07-241-24/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (get_title_from_address), (ephy_tab_set_loading_title), (ephy_tab_set_address), (ephy_tab_set_load_status), (ephy_tab_get_load_status), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ephy_tab_content_change_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_set_title), (ephy_tab_get_title), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-window.c: (sync_tab_typed_address), (sync_tab_title), (ephy_window_set_active_tab): * src/epiphany.defs: Set title of loading page to the address, iff the page was blank before. Fixes bug #115337 and bug #171622. * src/ephy-session.c: (ephy_session_close): In ephy_session_close(), close open dialogues first.
* Better fix for bug #151037 to make session shutdown work again. Also fixChristian Persch2005-07-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (remove_download), (prepare_close_cb), (downloader_view_init), (downloader_view_finalize), (downloader_view_remove_download), (download_dialog_delete_cb): * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-favicon-cache.c: (prepare_close_cb), (ephy_favicon_cache_init), (kill_download): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * src/ephy-session.c: (ephy_session_init), (ephy_session_dispose), (ephy_session_autoresume), (close_dialog), (ephy_session_close): * src/ephy-shell.c: (ephy_shell_startup), (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Better fix for bug #151037 to make session shutdown work again. Also fix session shutdown while resuming, and preserve the session in this case.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
* Shift-Ctrl+R now works (Force reload). Fixes #307831.Jean-François Rameau2005-06-201-0/+3
| | | | | | | | | 2005-06-19 Jean-François Rameau <jframeau@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: Shift-Ctrl+R now works (Force reload). Fixes #307831.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* Handle Ctrl-F like / to open the find bar without focusing it. Fixes linkChristian Persch2005-06-091-15/+0
| | | | | | | | | | | | | 2005-06-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/ephy-window.h: * src/epiphany.defs: * src/window-commands.c: (window_cmd_edit_select_all), (window_cmd_edit_find): Handle Ctrl-F like / to open the find bar without focusing it. Fixes link activation while finding.
* Work around mozilla bugChristian Persch2005-05-311-0/+6
| | | | | | | | | | | | 2005-05-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab_to_another_notebook), (button_release_cb): * src/ephy-window.c: (update_tabs_menu_sensitivity): Work around mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=296002 by disallowing tabs moves to a different window. Bug #303922.
* Don't erase the search term when opening the find bar with Ctrl-F.Christian Persch2005-05-301-1/+1
| | | | | | | | | | | 2005-05-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (ephy_find_toolbar_open): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_find): Don't erase the search term when opening the find bar with Ctrl-F.
* Deactivate typeaheadfind in print preview mode.Christian Persch2005-05-301-10/+24
| | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (entry_activate_cb), (sync_print_preview_mode), (ephy_find_toolbar_set_window), (ephy_find_toolbar_get_property), (ephy_find_toolbar_set_property), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_get_is_popup), (ephy_window_get_is_print_preview): * src/ephy-window.h: Deactivate typeaheadfind in print preview mode.
* Allow ViewSource for XML documents too. Fixes bug #305788.Christian Persch2005-05-291-2/+3
| | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_document_type): Allow ViewSource for XML documents too. Fixes bug #305788.
* Disable mozilla's typeaheadfind.Christian Persch2005-05-291-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/default-prefs-toolkit.js: Disable mozilla's typeaheadfind. * src/ephy-find-toolbar.c: (get_find), (send_focus_change), (tab_dom_key_press_cb), (entry_changed_cb), (entry_preedit_changed_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_find): Forward key events from the embed to the find toolbar. That way we can typeaheadfind without losing focus.
* Check for toolkit nsITypeAheadFind.Christian Persch2005-05-291-74/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for toolkit nsITypeAheadFind. * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-find.c: (ephy_embed_find_set_embed), (ephy_embed_find_set_properties), (ephy_embed_find_find), (ephy_embed_find_find_again), (ephy_embed_find_get_type): * embed/ephy-embed-find.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): * src/ephy-find-toolbar.c: (get_find), (set_controls), (tab_content_changed_cb), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_finalize), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new), (ephy_find_toolbar_get_text), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_init), (ephy_window_get_find_toolbar), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Implement typeaheadfind for the find toolbar.
* A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h:Christian Persch2005-05-261-48/+107
| | | | | | | | | | | | | | | | | | | 2005-05-25 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/find-dialog.c: * embed/find-dialog.h: A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (tab_content_changed_cb), (ephy_window_set_active_tab), (ephy_window_dispose), (sync_find_toolbar_text_cb), (find_toolbar_find_next_cb), (find_toolbar_find_previous_cb), (find_toolbar_close_cb), (ephy_window_init), (ephy_window_notebook_switch_page_cb), (ephy_window_find): Replace the find dialogue with a find toolbar. Work in progress; no typeaheadfind yet.
* Use gtk_action_set_[sensitive|visible] instead of g_object_set.Christian Persch2005-04-191-20/+30
| | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): * src/ephy-history-window.c: (ephy_history_window_update_menu): * src/ephy-toolbar.c: (ephy_toolbar_set_zoom): * src/ephy-window.c: (update_edit_actions_sensitivity), (enable_edit_actions_sensitivity), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (update_tabs_menu_sensitivity): * src/ppview-toolbar.c: (toolbar_update_sensitivity): Use gtk_action_set_[sensitive|visible] instead of g_object_set.
* A src/ephy-action-helper.c: A src/ephy-action-helper.h: AChristian Persch2005-04-191-209/+58
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/Makefile.am: A src/ephy-action-helper.c: A src/ephy-action-helper.h: A src/ephy-lockdown.c: A src/ephy-lockdown.h: * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_lockdown), (ephy_shell_get_extensions_manager): * src/ephy-tab.c: (ephy_tab_set_location): * src/ephy-toolbar.c: (ephy_toolbar_set_window), (ephy_toolbar_set_navigation_actions), (ephy_toolbar_finalize): * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_load_status), (show_embed_popup), (update_tabs_menu_sensitivity), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor): * src/popup-commands.c: Move lockdown from EphyWindow into an internal extension.
* Constify the action entries. Fixes bug #301065, patch by Paolo Borelli.Christian Persch2005-04-181-9/+6
| | | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_ui_manager): Constify the action entries. Fixes bug #301065, patch by Paolo Borelli.
* Hide the statusbar's resize grip when the window is maximised. Fixes bugChristian Persch2005-04-181-39/+57
| | | | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init): Hide the statusbar's resize grip when the window is maximised. Fixes bug #301048, patchy by Paolo Borelli.
* Also disallow opening a new tab from EphyLink iface in popup mode.Christian Persch2005-04-181-1/+3
| | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_open_link): Also disallow opening a new tab from EphyLink iface in popup mode.
* Rework popup windows. Introduce "is-popup" property on EphyWindow toChristian Persch2005-04-181-73/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId): * src/ephy-notebook.c: (ephy_notebook_set_dnd_enabled), (ephy_notebook_get_property), (ephy_notebook_set_property), (ephy_notebook_class_init), (move_tab_to_another_notebook), (button_press_cb), (ephy_notebook_init): * src/ephy-notebook.h: * src/ephy-session.c: (ephy_session_get_active_window): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_class_init), (popups_manager_new_window_info), (ephy_tab_dispose), (ephy_tab_finalize), (let_me_resize_hack), (ephy_tab_set_size), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (update_actions_sensitivity), (sync_tab_visibility), (show_embed_popup), (let_me_resize_hack), (tab_size_to_cb), (ephy_window_set_active_tab), (ephy_window_set_chrome), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_add_tab), (ephy_window_show), (ephy_window_view_popup_windows_cb), (ephy_window_get_is_popup): * src/ephy-window.h: Rework popup windows. Introduce "is-popup" property on EphyWindow to indicate a window who will only have one tab, and can be resized by javascript calls. Fixes bug #136288 and #155395.
* Fix the build.Christian Persch2005-03-151-5/+5
| | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_multimedia_key_actions): Fix the build.
* Support "Multimedia" keys. Fixes bug #162748.Christian Persch2005-03-151-1/+63
| | | | | | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (ephy_window_key_press_event), (setup_multimedia_key_actions), (setup_ui_manager): * src/window-commands.c: (window_cmd_go_home): * src/window-commands.h: Support "Multimedia" keys. Fixes bug #162748.
* Revert patch from bug #169956, it's not correct.Christian Persch2005-03-121-0/+2
| | | | | | | | | | | | 2005-03-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_activate_location): Revert patch from bug #169956, it's not correct. * src/ephy-window.c: (sync_chromes_visibility): Fix a crash on window close with active toolbar activation.
* Make the signal RUN_LAST.Christian Persch2005-02-241-1/+14
| | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-link.c: (ephy_link_base_init): Make the signal RUN_LAST. * src/ephy-tab.c: (ephy_tab_get_type), (open_link_in_new_tab), (clipboard_text_received_cb): Make EphyTab implement EphyLink interface. * src/ephy-window.c: (modal_alert_cb), (tab_added_cb), (tab_removed_cb), (ephy_window_open_link): Attach to link signal on EphyTab. Don't switch tabs to modal alerts in ppv mode; block the alerts instead. 2005-02-23 Carlos Garnacho Parro <carlos@gnome.org>
* Remove ephy_tab_get_action(). Adapts the tabs menu accordingly.Christian Persch2005-02-111-10/+3
| | | | | | | | | | | | | | | | | | | | 2005-02-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_init), (ephy_tab_set_title), (ephy_tab_get_title), (ephy_tab_get_zoom): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type), (tab_action_activate_cb), (sync_tab_title), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (sync_active_tab), (ephy_tabs_menu_set_window), (ephy_tabs_menu_set_property), (ephy_tabs_menu_get_property), (ephy_tabs_menu_class_init), (ephy_tabs_menu_clean), (tab_set_action_accelerator), (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_get_active_embed): Remove ephy_tab_get_action(). Adapts the tabs menu accordingly.
* Move all the stuff from finalize to dispose, so that we finalise the UIChristian Persch2005-02-101-68/+79
| | | | | | | | | | | 2005-02-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_dispose), (ephy_window_class_init), (ephy_window_finalize): Move all the stuff from finalize to dispose, so that we finalise the UI manager when disposing and not only when finalising. Fixes bug #165992.
* Revert the fix for bug #165550, it wasn't correct.Christian Persch2005-02-031-30/+16
| | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_chromes_visibility), (setup_ui_manager), (ephy_window_set_print_preview): Revert the fix for bug #165550, it wasn't correct.
* Remove the accel group from the window when hiding the menubar in lockdownChristian Persch2005-02-021-16/+30
| | | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-lockdown.schemas.in: * src/ephy-window.c: (sync_chromes_visibility), (setup_ui_manager), (ephy_window_set_print_preview): Remove the accel group from the window when hiding the menubar in lockdown mode. From bug #165550.
* Don't disable print preview if print setup is locked down. Fixes bugChristian Persch2005-02-021-1/+1
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_print_actions): Don't disable print preview if print setup is locked down. Fixes bug #165552.
* Don't show the menubar with F10 in lockdown mode. Make sure we alwaysChristian Persch2005-02-021-3/+3
| | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_key_press_event): Don't show the menubar with F10 in lockdown mode. Make sure we always chain up to GtkWindow's keypress handler. Fixes bug #165550.
* Make EphyWindow implement EphyLink interface. Make ephy-link.h public.Christian Persch2005-01-311-24/+38
| | | | | | | | | | | | 2005-01-31 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_type), (ephy_window_link_iface_init), (ephy_window_open_link), (ephy_window_init), (ephy_window_load_url): Make EphyWindow implement EphyLink interface. Make ephy-link.h public.
* Some sparse fixes.Christian Persch2005-01-311-5/+5
| | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_new): * lib/ephy-dialog.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): * src/ephy-link.c: (ephy_link_open): * src/ephy-statusbar.c: (create_statusbar_security_icon): * src/ephy-window.c: * src/prefs-dialog.c: (get_download_button_label): Some sparse fixes.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
* Disable DownloadLinkAs and SetAsBackground if saving to disk is disabled.Christian Persch2005-01-291-1/+3
| | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_actions_sensitivity): Disable DownloadLinkAs and SetAsBackground if saving to disk is disabled.
* Don't show the Leave Fullscreen button in lockdown fullscreen mode. SwitchChristian Persch2005-01-261-14/+9
| | | | | | | | | | | | | | | | | | | 2005-01-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_update_visibility), (ephy_fullscreen_popup_set_show_leave), (ephy_fullscreen_popup_init): * src/ephy-fullscreen-popup.h: * src/ephy-toolbar.c: (ephy_toolbar_update_fixed_visibility), (ephy_toolbar_set_show_leave_fullscreen): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen): Don't show the Leave Fullscreen button in lockdown fullscreen mode. Switch to fullscreen toolbar also in lockdown fullscreen mode. Fixes bug #165256.
* Check for broken context event button.Christian Persch2005-01-231-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-23 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for broken context event button. * embed/ephy-embed-event.c: (ephy_embed_event_get_context), (ephy_embed_event_get_button): * embed/ephy-embed-event.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: Change get_type to get_button, and don't store a nsCOMPtr in .priv. * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): Adapted for above change. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Attach listener to oncontextmenu event. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Get event target coordinates also for 'mouse' context events. * embed/mozilla/mozilla-embed.cpp: Remove key-down handler, and context code from mouse-down handler.
* Rename "visible" property.Christian Persch2005-01-231-1/+1
| | | | | | | | | 2005-01-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_class_init), (ephy_tab_visibility_cb): * src/ephy-window.c: (tab_added_cb): Rename "visible" property.
* Unify accels to Open in New _Window[s], and also change to Open Link inChristian Persch2005-01-161-1/+1
| | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): * src/ephy-window.c: Unify accels to Open in New _Window[s], and also change to Open Link in New _Window. Fixes bug #164130.
* Don't use <tt> in the strings. Fixes bug #163378.Christian Persch2005-01-161-1/+1
| | | | | | | | | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use <tt> in the strings. Fixes bug #163378. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): Fix button text and capitalisation in the confirm-redirect-update dialogue. Fixes bug #164131. * src/ephy-window.c: (confirm_close_with_modified_forms): Fix primary text of confirm-close command not to have a period.
* Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506.Christian Persch2005-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_finalize), (ephy_location_entry_class_init), (modify_background), (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_show_lock), (ephy_location_entry_set_lock_stock), (ephy_location_entry_set_lock_tooltip): * lib/widgets/ephy-location-entry.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-location-action.c: (sync_icon), (sync_lock_stock_id), (sync_lock_tooltip), (sync_show_lock), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_finalize): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_set_lock_visibility), (ephy_toolbar_constructor): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility): Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506. Change "Exit Fullscreen" to "Leave Fullscreen" as per HIG, part of bug #153270.
* Add Toolbar toggle to document context menu in fullscreen mode.Christian Persch2005-01-131-116/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-12 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: Add Toolbar toggle to document context menu in fullscreen mode. * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (update_fixed), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: Changed to allow setting a toolbar as fixed, not just one item. * lib/widgets/ephy-search-entry.h: Add _ prefixed struct declarations. * po/POTFILES.in: Updated. * src/Makefile.am: A src/ephy-fullscreen-popup.c: A src/ephy-fullscreen-popup.h: * src/ephy-history-window.c: * src/ephy-shell.c: (ephy_shell_new_tab): A src/ephy-toolbar.c: A src/ephy-toolbar.h: * src/ephy-window.c: (destroy_fullscreen_popup), (ephy_window_destroy), (exit_fullscreen_clicked_cb), (get_toolbar_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_address), (sync_tab_icon), (sync_tab_navigation), (sync_tab_security), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (modal_alert_cb), (ephy_window_focus_in_event), (ephy_window_focus_out_event), (ephy_window_init), (ephy_window_activate_location): R src/toolbar.c: R src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Implemented in-toolbar exit button, and integrated status indicator in the exit fullscreen popup. Moved toolbar.[ch] to ephy-toolbar.[ch] for namespace correcness, and much-needed code cleanup.
* Don't show the description for no-secure and broken sites.Christian Persch2005-01-091-7/+12
| | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_security): Don't show the description for no-secure and broken sites.
* Remove unused include from public header ephy-window.h.Christian Persch2005-01-091-0/+1
| | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: * src/ephy-tabs-menu.c: * src/ephy-window.c: * src/ephy-window.h: * src/pdm-dialog.c: * src/prefs-dialog.c: * src/window-commands.c: Remove unused include from public header ephy-window.h.
* Unify the location and favicon actions.Christian Persch2005-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-toolbar.xml: * lib/ephy-marshal.list: * lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_string): * lib/ephy-signal-accumulator.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_class_init), (editable_changed_cb), (each_url_get_data_binder), (favicon_drag_data_get_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_get_image): * lib/widgets/ephy-location-entry.h: * src/Makefile.am: * src/ephy-favicon-action.c: * src/ephy-favicon-action.h: * src/ephy-location-action.c: (sync_address), (sync_editable), (sync_icon), (get_location_cb), (get_title_cb), (remove_completion_actions), (add_completion_actions), (connect_proxy), (disconnect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize): * src/ephy-window.c: (sync_tab_icon): * src/toolbar.c: (toolbar_setup_actions), (toolbar_update_favicon): * src/toolbar.h: Unify the location and favicon actions. * src/window-commands.c: (window_cmd_help_about): Add translator comment to the translation-credits string.
* Use glib-mkenums to generate the enum and flags get_type functions.Christian Persch2005-01-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/Makefile.am: * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-permission-manager.c: * embed/ephy-permission-manager.h: * lib/egg/Makefile.am: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * src/Makefile.am: * src/ephy-link.c: * src/ephy-link.h: * src/ephy-navigation-action.c: * src/ephy-shell.c: (ephy_shell_error_quark): * src/ephy-shell.h: * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: Use glib-mkenums to generate the enum and flags get_type functions.
* Add placeholder group for tabs move actions.Christian Persch2005-01-061-0/+8
| | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: Add placeholder group for tabs move actions. * src/ephy-window.c: (show_notebook_popup_menu): Activate the action before showing the context menu, so extensions can sync their UI.
* Display open lock for low 'secure' sites too. Fixes bug #151709.Christian Persch2005-01-061-5/+2
| | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_security): Display open lock for low 'secure' sites too. Fixes bug #151709.
* Add context menu on notebook. Fixes bug #132989.Christian Persch2005-01-061-2/+63
| | | | | | | | | | | | 2005-01-05 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-notebook.c: (button_press_cb): * src/ephy-window.c: (show_notebook_popup_menu), (notebook_button_press_cb), (notebook_popup_menu_cb), (setup_notebook): Add context menu on notebook. Fixes bug #132989.
* Consistently start enum names with EPHY_*.Crispin Flowerday2005-01-061-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-05 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_flags_get_type): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_document_type_get_type): * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_set_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_address_cb), (update_net_state_message), (build_progress_from_requests), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_get_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_set_image_as_background), (save_temp_source): * src/ppview-toolbar.c: (toolbar_cmd_ppv_goto_first), (toolbar_cmd_ppv_goto_last), (toolbar_cmd_ppv_go_back), (toolbar_cmd_ppv_go_forward): * src/toolbar.c: (sync_user_input_cb): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Consistently start enum names with EPHY_*.
* Ensure that flags and enums start with 'Ephy'Crispin Flowerday2005-01-041-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_flags): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_security_level), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_document_type_cb), (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_security_change_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_set_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup), (ephy_window_class_init): * src/popup-commands.c: (popup_cmd_copy_link_address): Ensure that flags and enums start with 'Ephy'
* Remove obsolete ephy_window_load_in_tabs() and use generic link openingChristian Persch2004-12-241-47/+17
| | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_get_type), (notebook_drag_data_received_cb): * src/ephy-window.c: (open_link_cb), (ephy_window_init), (ephy_window_set_zoom): * src/ephy-window.h: Remove obsolete ephy_window_load_in_tabs() and use generic link opening framework instead.
* A src/ephy-home-action.c: (ephy_home_action_activate),Christian Persch2004-12-241-30/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (add_action_for_bookmark), (ephy_bookmarks_menu_class_init): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (menu_activate_cb), (open_in_tabs_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: A src/ephy-home-action.c: (ephy_home_action_activate), (ephy_home_action_class_init), (ephy_home_action_get_type): A src/ephy-home-action.h: A src/ephy-link-action.c: (ephy_link_action_get_type): A src/ephy-link-action.h: A src/ephy-link.c: (ephy_link_flags_get_type), (ephy_link_base_init), (ephy_link_get_type), (ephy_link_open): A src/ephy-link.h: * src/ephy-location-action.c: (ephy_location_action_get_type), (action_activated_cb), (location_url_activate_cb), (connect_proxy), (disconnect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (activate_back_or_forward_menu_item_cb), (activate_up_menu_item_cb), (build_back_or_forward_menu), (build_up_menu): * src/ephy-navigation-action.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (setup_ui_manager), (open_link_cb), (ephy_window_init): * src/toolbar.c: (toolbar_get_type), (toolbar_setup_actions): * src/window-commands.c: * src/window-commands.h: Consolidate link opening in one place by introducing an EphyLink interface which bookmarks, topics, navigation, location, home, toolbars, bookmarks menu and favourites menu implement, forwarding the link opening to the window.
* Fix the build.Christian Persch2004-12-191-14/+0
| | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * src/ephy-window.c: Fix the build.
* Make sure we don't have any app-modal dialogues. Fixes bug #110479.Christian Persch2004-12-191-3/+3
| | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * lib/ephy-gui.c: (ephy_gui_ensure_window_group), (ephy_gui_confirm_overwrite_file): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (ephy_bookmarks_editor_construct): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): Make sure we don't have any app-modal dialogues. Fixes bug #110479.
* Disable Print and Print Preview while still loading the page. Fixes bugChristian Persch2004-12-191-13/+27
| | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_print_actions), (update_actions_sensitivity), (sync_tab_load_status): Disable Print and Print Preview while still loading the page. Fixes bug #116344.
* Disable Zoom items for images, and disable zoom, encoding and view sourceChristian Persch2004-12-191-5/+49
| | | | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type), (ephy_embed_document_type_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_document_type_cb), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_zoom), (ephy_window_set_active_tab): * src/toolbar.c: (toolbar_update_zoom): * src/toolbar.h: Disable Zoom items for images, and disable zoom, encoding and view source for images and xml (xul) documents. Fixes bug #132240.
* Add attach_tab and detach_tab functions to extension interface (bugAdam Hooper2004-12-181-0/+10
| | | | #153732). Thanks to Crispin for almost all of the code.
* Deactivate the context menu on window close. Fixes bug #156812.Christian Persch2004-12-041-0/+5
| | | | | | | | 2004-12-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_destroy): Deactivate the context menu on window close. Fixes bug #156812.
* Update bookmarks from HTTP 301. Fixes bug #126312.Christian Persch2004-12-021-10/+17
| | | | | | | | | | | | | | | | | | | | 2004-12-02 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_class_init): * embed/ephy-history.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyHistoryListener.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/Makefile.am: * src/bookmarks/ephy-bookmarks.c: (redirect_cb), (ephy_setup_history_notifiers): * src/ephy-window.c: (confirm_close_with_modified_forms), (ensure_window_group), (ephy_window_init): Update bookmarks from HTTP 301. Fixes bug #126312.
* Fix "Open Frame" menu item name. Fixes bug #153816.Christian Persch2004-11-301-2/+2
| | | | | | | | 2004-11-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Fix "Open Frame" menu item name. Fixes bug #153816.
* Better translator's commentChristian Persch2004-11-281-0/+16
|
* Add shortcut to Send To menuitem, as per HIG. Fixes bug #148655.Christian Persch2004-11-121-1/+1
| | | | | | | | 2004-11-12 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Add shortcut to Send To menuitem, as per HIG. Fixes bug #148655.
* Sanitise the embed popup position. Fixes bug #157162.Christian Persch2004-11-081-2/+10
| | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_sanitise_popup_position), (ephy_gui_menu_position_tree_selection), (ephy_gui_menu_position_under_widget): * lib/ephy-gui.h: * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup): Sanitise the embed popup position. Fixes bug #157162.
* When popping up the context menu with keyboard, select the first menuChristian Persch2004-11-081-1/+2
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_popup): * src/bookmarks/ephy-bookmark-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb): * src/bookmarks/ephy-topic-action.c: (button_toggled_cb), (show_context_menu), (popup_menu_cb), (button_press_cb): * src/ephy-window.c: (show_embed_popup): When popping up the context menu with keyboard, select the first menu item. Fixes bug #154907.
* Make static.Christian Persch2004-11-071-7/+1
| | | | | | | | 2004-11-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_show): Make static.
* Also bring the window to the front.Christian Persch2004-11-041-0/+5
| | | | | | | | 2004-11-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (modal_alert_cb): Also bring the window to the front.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Don't deactivate the toolbar when another item in the same toolbar gainsChristian Persch2004-11-011-0/+3
| | | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init), (ephy_location_entry_activate): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-window.c: (ephy_window_init): * src/toolbar.c: (toolbar_class_init), (toolbar_finalize), (maybe_finish_activation_cb), (toolbar_activate_location), (toolbar_update_zoom), (toolbar_new): * src/toolbar.h: Don't deactivate the toolbar when another item in the same toolbar gains focus. Fixes bug #155650.
* When showing a modal alert put up by a web page, switch the window to thatChristian Persch2004-10-311-0/+37
| | | | | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * src/ephy-window.c: (modal_alert_cb), (tab_added_cb), (tab_removed_cb): When showing a modal alert put up by a web page, switch the window to that tab.
* Slightly refactor bookmarks menu, to take a configurable path where toChristian Persch2004-10-301-1/+16
| | | | | | | | | | | | | | | | | 2004-10-29 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb), (open_bookmark_in_tab_cb), (add_action_for_bookmark), (create_submenu), (ephy_bookmarks_menu_rebuild), (ephy_bookmarks_menu_set_property), (ephy_bookmarks_menu_get_property), (ephy_bookmarks_menu_constructor), (ephy_bookmarks_menu_finalize), (ephy_bookmarks_menu_class_init), (ephy_bookmarks_menu_new): * src/bookmarks/ephy-bookmarks-menu.h: * src/ephy-window.c: (open_bookmark_cb), (ephy_window_init): Slightly refactor bookmarks menu, to take a configurable path where to merge its UI.
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-281-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE.
* Make the confirm-close-with-form-data dialogue window modal, instead ofChristian Persch2004-10-271-0/+11
| | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (confirm_close_with_modified_forms): Make the confirm-close-with-form-data dialogue window modal, instead of app modal.
* Use new gtk+ HIG message dialogue API. Fixes bug #130232.Christian Persch2004-10-271-42/+18
| | | | | | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (confirmation_dialog_construct), (cmd_clear): * src/ephy-session.c: (offer_to_resume): * src/ephy-window.c: (confirm_close_with_modified_forms): Use new gtk+ HIG message dialogue API. Fixes bug #130232.
* Move window destruction after tab-removed signal emission. Fixes bugChristian Persch2004-10-251-1/+0
| | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_remove_tab): * src/ephy-window.c: (ephy_window_get_active_tab): Move window destruction after tab-removed signal emission. Fixes bug #151607.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-231-10/+7
| | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_double_underscores): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): * src/ephy-window.h: Remove ephy_string_parse_uri_list, and use new glib function g_uri_list_extract_uris() instead.
* No circular dependencies anymore.Christian Persch2004-10-091-1/+1
| | | | | | | | | | | 2004-10-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: * src/ephy-window.h: No circular dependencies anymore.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-081-7/+124
| | | | | | | | | | | 2004-10-08 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (get_name_from_address_value), (update_popups_tooltips), (show_embed_popup): Add tooltips for context menus. Fix #151764
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-10-08 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (setup_default_size): * lib/ephy-state.c: (create_window_node), (ephy_state_add_window): * lib/ephy-state.h: * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-window.c: (ephy_window_show): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_edit_toolbar): Allow to set the default window state to maximize. Default to maximize for the browser window.
* Notify when entering or leaving print preview mode. Fixes bug #154591.Christian Persch2004-10-061-2/+19
| | | | | | | | | | 2004-10-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init), (ephy_window_set_print_preview): Notify when entering or leaving print preview mode. Fixes bug #154591.
* Don't allow activation of the hidden menubar in ppv mode.Christian Persch2004-10-061-0/+6
| | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_key_press_event): Don't allow activation of the hidden menubar in ppv mode.
* Fix print preview and fullscreen mode interaction. Fixes bug #154456.Christian Persch2004-10-061-37/+28
| | | | | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (get_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_delete_event_cb), (show_embed_popup), (ephy_window_init), (ephy_window_set_print_preview): Fix print preview and fullscreen mode interaction. Fixes bug #154456.
* Set window icon.Christian Persch2004-10-051-4/+6
| | | | | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection), (ephy_gui_confirm_overwrite_file): * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_init): Set window icon.
* Use gtk_window_set_default_icon_name().Christian Persch2004-10-021-36/+0
| | | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-window.c: (ephy_window_init): Use gtk_window_set_default_icon_name().
* Fix compiler warnings.Christian Persch2004-09-271-1/+4
| | | | | | | | | | | | | | | | 2004-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/egg/eggtrayicon.h: Fix compiler warnings. * src/ephy-window.c: (hide_embed_popup_cb), (show_embed_popup): Fix a signal leak.
* Show the fullscreen button only when the window is active. Fix #115296.Marco Pesenti Gritti2004-09-161-0/+28
| | | | | | | | | | 2004-09-16 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (ephy_window_focus_in_event), (ephy_window_focus_out_event), (ephy_window_class_init): Show the fullscreen button only when the window is active. Fix #115296.
* Keep popup position synced with his size requisition. Fix #143585Marco Pesenti Gritti2004-09-161-5/+14
| | | | | | | | | | | 2004-09-16 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (update_fullscreen_popup), (screen_size_changed_cb), (fullscreen_popup_size_request_cb), (ephy_window_fullscreen): Keep popup position synced with his size requisition. Fix #143585
* Add ephy_window_get_ui_manager(), and remove the manager from the publicChristian Persch2004-09-141-21/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> * data/art/epiphany-entry.png: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_set_window): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild): * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-tabs-menu.c: (ephy_tabs_menu_set_window), (ephy_tabs_menu_clean), (ephy_tabs_menu_update): * src/ephy-window.c: (add_widget), (sync_chromes_visibility), (ephy_window_key_press_event), (init_menu_updaters), (setup_ui_manager), (show_embed_popup), (ephy_window_init), (ephy_window_finalize), (ephy_window_set_print_preview), (ephy_window_get_ui_manager): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window): * src/toolbar.c: (toolbar_set_window), (toolbar_new): * src/window-commands.c: (window_cmd_edit_toolbar): Add ephy_window_get_ui_manager(), and remove the manager from the public EphyWindow struct.
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-131-17/+40
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Make sure to instantiate the toolbars model before instantiating theChristian Persch2004-08-281-4/+9
| | | | | | | | | | 2004-08-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_init): Make sure to instantiate the toolbars model before instantiating the bookmarksbar model; otherwise forwarding doesn't work. Fixes bug #151267.
* Make "FileSave" action obey lockdown too. Fixes bug #151039.Christian Persch2004-08-261-0/+2
| | | | | | | | 2004-08-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_actions_sensitivity): Make "FileSave" action obey lockdown too. Fixes bug #151039.
* Set accel for normal zoom, as per HIG.Christian Persch2004-08-221-1/+1
| | | | | | | | 2004-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Set accel for normal zoom, as per HIG.
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-061-8/+4
| | | | | | | | | | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_parse_uri_list): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-notebook.h: * src/ephy-session.c: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioning when opening tabs from drags.
* Diconnect from screen's size-changed signal on finalize too.Christian Persch2004-08-011-55/+64
| | | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_type), (update_exit_fullscreen_popup_position), (screen_size_changed_cb), (destroy_exit_fullscreen_popup), (ephy_window_destroy), (add_widget), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity): Diconnect from screen's size-changed signal on finalize too.
* Add disable_quit, disable_new_window, first_window_fullscreen lockdownMarco Pesenti Gritti2004-07-191-9/+41
| | | | | | | | | | | | | | | 2004-07-19 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_actions_sensitivity), (tab_detached_cb), (tab_delete_cb), (ephy_window_init): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_close_window): Add disable_quit, disable_new_window, first_window_fullscreen lockdown options.
* Show and activate the menubar with F10 when it's hidden. Fixes bugChristian Persch2004-07-041-0/+43
| | | | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (menubar_deactivate_cb), (ephy_window_key_press_event), (ephy_window_class_init): Show and activate the menubar with F10 when it's hidden. Fixes bug #141999.
* s/Off-Line/Offline/Christian Persch2004-07-021-1/+1
| | | | | | | | 2004-07-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: s/Off-Line/Offline/
* Popup blocking support. View -> Popup Windows.Adam Hooper2004-07-011-1/+136
|
* Implement File->Work Off-Line command and backend. No DBUS/HAL/whateverChristian Persch2004-06-271-0/+37
| | | | | | | | | | | | | | | | | | | | 2004-06-26 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_offline_mode), (ephy_embed_single_get_offline_mode): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (network_status_changed), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (window_cmd_file_save_as), (window_cmd_file_work_offline): * src/window-commands.h: Implement File->Work Off-Line command and backend. No DBUS/HAL/whatever integration yet.
* Simplify print code. Now there is only one case to deal with, the mozillaMarco Pesenti Gritti2004-06-251-63/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_print), (ephy_embed_set_print_preview_mode): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_dialog_new): * embed/print-dialog.h: * src/ephy-window.c: (ephy_window_delete_event_cb), (ephy_window_finalize), (update_embed_dialogs), (ephy_window_find): * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print_preview), (window_cmd_file_print): Simplify print code. Now there is only one case to deal with, the mozilla prompt dialog. This should help with xprint.
* Implement open in tabs from toolbar topicsMarco Pesenti Gritti2004-06-241-1/+2
| | | | | | | | | | | | | | | | 2004-06-24 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (open_in_tabs_cb), (go_location_cb), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (open_in_tabs_activate_cb), (build_bookmarks_menu), (build_topics_menu), (build_menu), (ephy_topic_action_set_topic_id), (ephy_topic_action_set_property), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: * src/ephy-window.c: (ephy_window_load_in_tabs): Implement open in tabs from toolbar topics
* Simply use gtk_container_get_children().Christian Persch2004-06-241-11/+2
| | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_tabs): Simply use gtk_container_get_children().
* Make the "Exit Fullscreen" button toggle the action instead of doing toChristian Persch2004-06-241-1/+11
| | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (exit_fullscreen_button_clicked_cb), (get_chromes_visibility), (ephy_window_state_event_cb): Make the "Exit Fullscreen" button toggle the action instead of doing to work itself. Fixes bug #144785.
* Add EphyWindow API to open multiple uris in tabs, use it for dnd on theMarco Pesenti Gritti2004-06-241-0/+47
| | | | | | | | | | | | 2004-06-23 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_set_zoom), (ephy_window_load_in_tabs): * src/ephy-window.h: Add EphyWindow API to open multiple uris in tabs, use it for dnd on the notebook.
* Append tabs at the end instead of grouping them near the current one.Marco Pesenti Gritti2004-06-201-2/+2
| | | | | | | | | | | | | | | | | 2004-06-19 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_add_tab), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): Append tabs at the end instead of grouping them near the current one.
* Go back to construction the toolbar when the model is set, fixes bugChristian Persch2004-06-161-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_disconnect_model), (egg_editable_toolbar_deconstruct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_class_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_flags), (parse_toolbars): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window), (ephy_bookmarksbar_class_init): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_init): * src/toolbar.c: (toolbar_style_changed_cb), (parent_set_cb), (toolbar_init), (toolbar_finalize), (toolbar_new): Go back to construction the toolbar when the model is set, fixes bug #144191. 2004-06-15 Marco Pesenti Gritti <marco@gnome.org>
* Merging bookmarksbar-separation branch.Christian Persch2004-06-111-35/+60
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* Do not hide clipboard items for the input context (Bug #139040)Marco Pesenti Gritti2004-06-081-9/+3
| | | | | | | | | 2004-06-08 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (show_embed_popup): Do not hide clipboard items for the input context (Bug #139040)
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-041-1/+1
|
* Move the "Exit Fullscreen" popup to the right in RTL locale. Fixes bugChristian Persch2004-06-031-6/+15
| | | | | | | | | 2004-06-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_exit_fullscreen_popup_position): Move the "Exit Fullscreen" popup to the right in RTL locale. Fixes bug #140828.
* Emit the "tab_removed" signal also for the window's last tab. Part of bugChristian Persch2004-05-201-6/+1
| | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_remove_tab): * src/ephy-window.c: (tab_removed_cb): Emit the "tab_removed" signal also for the window's last tab. Part of bug #142078.
* Forgot to change action entries for last commit.Christian Persch2004-05-141-4/+0
| | | | | | | | 2004-05-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Forgot to change action entries for last commit.
* Fix accelerator for OpenImage action.Christian Persch2004-05-091-1/+1
| | | | | | | | 2004-05-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Fix accelerator for OpenImage action.
* Exit print preview mode before closing a window. Fixes a crasher; EpiphanyChristian Persch2004-04-271-0/+13
| | | | | | | | | 2004-04-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event_cb): Exit print preview mode before closing a window. Fixes a crasher; Epiphany equivalent of galeon bug #121298.
* Fix chrome for new windows opened from _blank target. Fixes bug #139512.Marco Pesenti Gritti2004-04-181-21/+22
| | | | | | | | | | | | | 2004-04-18 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (ephy_window_set_chrome), (ephy_window_set_property), (ephy_window_class_init): Fix chrome for new windows opened from _blank target. Fixes bug #139512.
* Add Ctrl+S as an alternate accel for Save As. Fixes bug #139415.Piers Cornwell2004-04-101-0/+3
| | | | | | | | | | 2004-04-09 Piers Cornwell <piers@gnome.org> * src/ephy-window.c: * data/ui/epiphany-ui.xml: Add Ctrl+S as an alternate accel for Save As. Fixes bug #139415.
* 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.
* Remove Open Image in New Tab and New Window from the context menu.Christian Persch2004-03-301-4/+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.
* 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.
* 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-261-2/+2
|
* Tiny doc fixes.Christian Persch2004-03-241-1/+1
| | | | | | | | | 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-241-4/+1
| | | | | | | | | | | | | | | | 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().
* API documentationAdam Hooper2004-03-241-3/+126
|
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-191-240/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2004-03-171-2/+0
|
* Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.Christian Persch2004-02-251-58/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Install the statusbar .h file.Christian Persch2004-02-131-31/+12
| | | | | | | | | | | | | | | | | | | | 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.
* 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.
* 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.
* *** empty log message ***Marco Pesenti Gritti2004-01-221-2/+2
|
* 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-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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-111-0/+52
| | | | | | | | | | | | 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.
* Added disable_arbitrary_url, disable_toolbar_editing, and disable_historyChristopher James Lahey2004-01-101-5/+59
| | | | | | | | | | | | | | | | | | | | | | | | | 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-101-0/+2
| | | | | | | | | * 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.
* Added disable_bookmark_editing key.Chris Lahey2004-01-101-1/+17
| | | | | | | | | | | | | | | | | | | | | | * 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-091-1/+27
| | | | | | | | | | | | | | | | | 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.
* 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-041-3/+143
| | | | | | | | | | | | | | | | | | | | | | | | | 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-021-10/+11
| | | | | | | | | | | | | | 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.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-251-6/+9
| | | | | | | | | | | | | | | | | | | | 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.
* Improve comment.Christian Persch2003-12-191-29/+33
| | | | | | | | | | | | | | 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.
* 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-141-2/+14
|
* Move events code inside EphyBrowser.cpp and add an event for blockedAdam Hooper2003-12-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | 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 ctrl-click equivalent of middle click on links. Make shift-click saveChristian Persch2003-12-081-2/+2
| | | | | | | | | | | | | | 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-071-32/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Marco Pesenti Gritti <marco@gnome.org>Chris Lahey2003-11-301-99/+144
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* Use icon theme icon for add bookmarkMarco Pesenti Gritti2003-11-221-3/+3
| | | | | | | | | | | | | | 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
* 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
* 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
* Rework shell services initialization so that it happen either on everyMarco Pesenti Gritti2003-11-141-0/+36
| | | | | | | | | | | | | | | | | | 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.)
* Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler andMarco Pesenti Gritti2003-11-111-1/+0
| | | | | | | | | | | | | | | | | | | 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-111-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Cleanup session. Persist also history and bookmarks.Marco Pesenti Gritti2003-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-051-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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-041-1/+19
| | | | | | | | | | | | | | | | | 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.
* Port to new gtk+ file chooser.Christian Persch2003-10-261-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> Port to new gtk+ file chooser. * data/epiphany.schemas.in: * lib/ephy-prefs.h: Add key for remembering upload path. * embed /Makefile.am: * embed/downloader-view.c: * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type), (ephy_embed_persist_set_dest), (ephy_embed_persist_set_embed), (ephy_embed_persist_set_fc_title), (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_set_flags), (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_persist_key), (ephy_embed_persist_set_source), (ephy_embed_persist_get_dest), (ephy_embed_persist_get_embed), (ephy_embed_persist_get_fc_title), (ephy_embed_persist_get_fc_parent), (ephy_embed_persist_get_flags), (ephy_embed_persist_get_max_size), (ephy_embed_persist_get_persist_key), (ephy_embed_persist_get_source), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_finalize), (ephy_embed_persist_class_init), (ephy_embed_persist_cancel), (ephy_embed_persist_save), (ephy_embed_persist_new): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (save_property_url), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd): * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_new), (icon_is_obsolete), (icons_added_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/MozDownload.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: Simplify EphyEmbedPersist implementation. Augment it with properties for showing a file chooser to select persist destination. Port all callers to new interfaces. * embed/ephy-embed-single.c: (ephy_embed_single_remove_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: * embed/ephy-embed-utils.h: Obsolete and removed. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Misc cleanups. * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: Port to new file chooser class. * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_finalize), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_set_property), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: * src/bookmarks/ephy-bookmarks-editor.c: (import_from_file_response_cb), (import_dialog_response_cb): New file chooser wrapper class; ported file chooser callers to it.
* Get rid of the last vestige of ephy_window_update_control(), and make theChristian Persch2003-10-181-23/+0
| | | | | | | | | | | | | | | | | | | | 2003-10-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (add_to_favorites), (history_site_visited_cb): * src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_set_property), (ephy_favorites_menu_get_property), (ephy_favorites_menu_class_init), (do_updates), (fav_removed_cb), (fav_added_cb), (ephy_favorites_menu_init), (ephy_favorites_menu_finalize), (ephy_favorites_menu_new): * src/ephy-favorites-menu.h: * src/ephy-window.c: * src/ephy-window.h: Get rid of the last vestige of ephy_window_update_control(), and make the favourites menu self-updating.
* Show encoding menu also when empty, fix oddness when opening View menuMarco Pesenti Gritti2003-10-181-0/+3
| | | | | | | | | 2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (setup_window): Show encoding menu also when empty, fix oddness when opening View menu
* Encoding menu improvements, Part 4: The Rewrite.Christian Persch2003-10-181-21/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-18 Christian Persch <chpe@cvs.gnome.org> Encoding menu improvements, Part 4: The Rewrite. * data/glade/epiphany.glade: * data/ui/epiphany-ui.xml: * data/ui/nautilus-epiphany-view.xml.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_new), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/ephy-embed.c: (ephy_embed_get_encoding_info): * embed/ephy-embed.h: * embed/ephy-encodings.c: (ephy_encodings_get_type), (ephy_encodings_finalize), (ephy_encodings_class_init), (ephy_encodings_get_node), (ephy_encodings_get_encodings), (ephy_encodings_get_detectors), (ephy_encodings_get_all), (ephy_encodings_get_categories), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init), (ephy_encoding_info_free), (ephy_encodings_new): * embed/ephy-encodings.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_font_languages), (ephy_font_n_languages): * lib/ephy-langs.h: * src/Makefile.am: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (setup_filter), (sync_embed_cb), (sync_active_tab), (ephy_encoding_dialog_set_window), (activate_choice), (activate_automatic), (ephy_encoding_dialog_response_cb), (category_node_selected_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_finalize), (ephy_encoding_dialog_set_property), (ephy_encoding_dialog_get_property), (ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new): * src/ephy-encoding-dialog.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_init), (sort_encodings), (add_menu_item), (update_encoding_menu_cb), (encoding_activate_cb), (add_action), (ephy_encoding_menu_view_dialog_cb), (ephy_encoding_menu_automatic_cb), (ephy_encoding_menu_set_window), (ephy_encoding_menu_finalize), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new): * src/ephy-nautilus-view.c: (gnv_bonobo_control_activate_cb), (gnv_cmd_select_encoding), (gnv_cmd_edit_find): * src/ephy-window.c: (ephy_window_set_active_tab), (setup_notebook), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init): * src/language-editor.h: * src/pdm-dialog.c: (setup_passwords_treeview), (setup_cookies_treeview): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (fonts_language_info_cmp), (create_fonts_language_menu), (find_encoding_in_list_cmp), (sort_encodings), (create_optionmenu), (prefs_dialog_init): Made encodings menu dynamic, containing recently used items + items related to the currently active encoding. Split encodings out as a embed shell service, port all users over to that. Harvest all encoding info we can get from mozilla.
* Remove unused includes, they was causing warnings on solarisMarco Pesenti Gritti2003-09-271-3/+0
| | | | | | | | 2003-09-26 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: Remove unused includes, they was causing warnings on solaris
* Simplify and solve bugs by using a checkbox with radio appeareance. ThatMarco Pesenti Gritti2003-09-241-2/+4
| | | | | | | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_set_active_tab): Simplify and solve bugs by using a checkbox with radio appeareance. That way we can get rid of groups that doesnt really work well for our needs.
* Dave Bordoley <bordoley@msu.edu>Marco Pesenti Gritti2003-09-241-10/+10
| | | | | | | | | | | | | | | | | | | | 2003-09-24 Marco Pesenti Gritti <marco@gnome.org> Dave Bordoley <bordoley@msu.edu> * src/ephy-tab.c: (ephy_tab_action_activate_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (ephy_tabs_menu_set_window), (ephy_tabs_menu_set_property), (ephy_tabs_menu_class_init), (ephy_tabs_menu_init), (ephy_tabs_menu_clean), (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_set_active_tab), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb): Use radio buttons for tabs menu. Do not recreate the action group every time but keep it synced. * src/ephy-notebook.c: (ephy_notebook_insert_page): Emit added signal before activating the page.
* Do not fail if prefs.js is corrupted.Marco Pesenti Gritti2003-09-201-2/+7
| | | | | | | | | | | | 2003-09-20 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not fail if prefs.js is corrupted. * src/ephy-window.c: (ephy_window_state_event_cb): Do not allow to edit toolbar in fs
* Do not use .in for not to translate files.Marco Pesenti Gritti2003-09-191-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-19 Marco Pesenti Gritti <marco@gnome.org> * data/ui/Makefile.am: * data/ui/epiphany-bookmark-editor-ui.xml.in: * data/ui/epiphany-fs-toolbar.xml: * data/ui/epiphany-history-window-ui.xml.in: * data/ui/epiphany-toolbar.xml.in: * data/ui/epiphany-ui.xml.in: Do not use .in for not to translate files. * lib/egg/egg-editable-toolbar.c: (create_toolbar), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge): * lib/egg/egg-toolbars-model.c: (parse_toolbars): Handle change of properties correctly. Add a toolbar style property in the xml. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_init): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen): * src/toolbar.c: (bookmark_destroy_cb), (toolbar_ensure_action), (init_bookmarks_toolbar), (init_normal_mode), (init_fullscreen_mode), (window_state_event_cb), (toolbar_set_window), (toolbar_set_visibility): * src/toolbar.h: * src/window-commands.c: (toolbar_editor_response_cb), (window_cmd_edit_toolbar): Special, more compact, toolbar layout for fullscreen.
* Adapt to changed GtkActionGroup api.Christian Persch2003-09-171-12/+22
| | | | | | | | | | 2003-09-16 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-window.c: (setup_window): Adapt to changed GtkActionGroup api.
* *** empty log message ***Marco Pesenti Gritti2003-09-161-1/+1
|
* Activate the embed when necessary.Marco Pesenti Gritti2003-09-161-0/+11
| | | | | | | | 2003-09-15 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-window.c: (ephy_window_load_url): Activate the embed when necessary.
* Remove not needed removal of groups of actions from ui merge (gtk fix).Marco Pesenti Gritti2003-09-121-2/+0
| | | | | | | | | | | | | | | | | | 2003-09-11 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_finalize): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_finalize): * src/ephy-encoding-menu.c: (ephy_encoding_menu_finalize_impl): * src/ephy-favorites-menu.c: (ephy_favorites_menu_finalize): * src/ephy-history-window.c: (ephy_history_window_finalize): * src/ephy-tabs-menu.c: (ephy_tabs_menu_finalize_impl): * src/ephy-window.c: (ephy_window_finalize): * src/toolbar.c: (toolbar_finalize): Remove not needed removal of groups of actions from ui merge (gtk fix).
* Remove a double connect to signal.Christian Persch2003-09-101-4/+0
| | | | | | | | 2003-09-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_set_active_tab): Remove a double connect to signal.
* Make spinner status per tab. Remove the default to tab pref, use tab byMarco Pesenti Gritti2003-09-101-45/+20
| | | | | | | | | | | | | | | | | | | 2003-09-10 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * lib/ephy-prefs.h: * src/ephy-notebook.c: (update_tabs_visibility), (ephy_notebook_init): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (open_link_in_new_tab): * src/ephy-window.c: (sync_tab_load_status), (ephy_window_set_active_tab), (tab_added_cb), (tab_removed_cb): * src/prefs-dialog.c: Make spinner status per tab. Remove the default to tab pref, use tab by default for middle click on links, add a always_show_tabs_bar hidden pref.
* Use gtk_action_group_set_translation_domain() to restore menu and popupChristian Persch2003-09-061-0/+2
| | | | | | | | | | | | | 2003-09-05 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-window.c: (setup_window): * src/ppview-toolbar.c: (ppview_toolbar_set_window): Use gtk_action_group_set_translation_domain() to restore menu and popup i18n.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-40/+37
|
* Readd is_important and ensure_update, gtk now support them.Marco Pesenti Gritti2003-09-011-8/+4
| | | | | | | | | | | | | | 2003-09-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_clean): * src/ephy-favorites-menu.c: (ephy_favorites_menu_clean): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-window.c: (setup_window): * src/toolbar.c: (toolbar_setup_actions): Readd is_important and ensure_update, gtk now support them.
* *** empty log message ***Marco Pesenti Gritti2003-09-011-3/+7
|
* *** empty log message ***Marco Pesenti Gritti2003-08-311-15/+23
|
* *** empty log message ***Marco Pesenti Gritti2003-08-311-65/+2
|
* Complete gtk 2.3 port. It doesnt run here but it could be my env.Marco Pesenti Gritti2003-08-301-37/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-30 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-encoding-menu.c: (ephy_encoding_menu_verb_cb): * src/ephy-favicon-action.c: (create_tool_item): * src/ephy-favicon-action.h: * src/ephy-favorites-menu.c: (ephy_favorites_menu_clean): * src/ephy-go-action.c: (create_tool_item), (create_menu_proxy_cb): * src/ephy-go-action.h: * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-location-action.c: (ephy_location_action_get_widget): * src/ephy-location-action.h: * src/ephy-navigation-action.c: * src/ephy-navigation-action.h: * src/ephy-spinner-action.c: (create_tool_item), (item_parent_set_cb): * src/ephy-spinner-action.h: * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_clean), (tab_set_action_accelerator), (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_state_event_cb), (setup_window), (update_layout_toggles): * src/popup-commands.c: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (ppview_toolbar_init): * src/toolbar.c: (toolbar_activate_location): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar), (window_cmd_view_fullscreen): Complete gtk 2.3 port. It doesnt run here but it could be my env.
* Part of gtk 2.3 port, changelog too long to paste itMarco Pesenti Gritti2003-08-301-192/+189
|
* Do not show popups on print preview.Marco Pesenti Gritti2003-08-141-0/+6
| | | | | | | | | | | | | | | 2003-08-13 Marco Pesenti Gritti <marco@.gnome.org> * src/ephy-window.c: (show_embed_popup): Do not show popups on print preview. * src/ppview-toolbar.c: (ppview_toolbar_set_window), (ppview_toolbar_init), (toolbar_cmd_ppv_goto_first), (toolbar_cmd_ppv_goto_last), (clamp_page_limits), (toolbar_cmd_ppv_go_back), (toolbar_cmd_ppv_go_forward): Use only known to work api to navigate.
* Respect priority text preference. Ported from gtk.Marco Pesenti Gritti2003-08-121-0/+7
| | | | | | | | | | | | | | | | | | | | | 2003-08-11 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-action.c: (egg_action_class_init), (egg_action_init), (egg_action_set_property), (egg_action_get_property), (egg_action_sync_important), (connect_proxy): * lib/egg/egg-action.h: * lib/egg/eggtoolbar.c: (toolbar_item_is_homogeneous), (egg_toolbar_size_request), (get_item_size): * lib/egg/eggtoolbutton.c: (egg_tool_button_property_notify), (egg_tool_button_class_init), (egg_tool_button_construct_contents): * lib/egg/eggtoolitem.c: (egg_tool_item_class_init), (egg_tool_item_get_is_important), (egg_tool_item_set_is_important), (egg_tool_item_set_property), (egg_tool_item_get_property): * lib/egg/eggtoolitem.h: * src/ephy-window.c: (setup_window): * src/toolbar.c: (toolbar_setup_actions): Respect priority text preference. Ported from gtk.
* *** empty log message ***Marco Pesenti Gritti2003-08-061-2/+2
|
* 2003-08-02 Christian PerschChristian Persch2003-08-021-14/+17
| | | | | | | | | | | | | | | | | | | * src/ephy-encodings-menu.c: (build_group): Fix ui xml string. * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): Fix mem leak. * src/ephy-window.c: (remove_from_session), (ephy_window_destroy), (ephy_window_finalize): * src/session.h: * src/session.c: (session_class_init), (session_remove_window): Move up the removal of the window from the session to when it's still valid and non-finalised. Include the window as parameter in the close signal of the session.
* Rework find implementation to integrate better with type ahead and toMarco Pesenti Gritti2003-07-201-43/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed.c: (ephy_embed_find_set_properties), (ephy_embed_find_next): * embed/ephy-embed.h: * embed/find-dialog.c: (update_navigation_controls), (impl_show), (find_dialog_class_init), (set_properties), (sync_page_change), (sync_embed), (find_dialog_init), (find_dialog_finalize), (find_dialog_go_next), (find_dialog_go_prev), (find_close_button_clicked_cb), (find_next_button_clicked_cb), (find_prev_button_clicked_cb), (find_entry_changed_cb), (find_check_toggled_cb): * embed/find-dialog.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-dialog.h: * src/ephy-window.c: (ephy_window_find): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find), (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Rework find implementation to integrate better with type ahead and to simplify the code. Do not try to set menus sensitivity because mozilla doesnt provide an api for it and it breaks with type ahead. * lib/ephy-dialog.c: (ephy_dialog_class_init), (ephy_dialog_finalize), (dialog_destroy_cb), (impl_construct), (ephy_dialog_construct): Remove no more used destruct crap.
* 2003-07-13 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-07-131-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: * configure.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (impl_get_downloader_view): * embed/ephy-embed-shell.h: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ProgressListener.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-langs.h: * lib/ephy-node.c: (unref_signal_objects), (ephy_node_signal_connect_object): * plugins/Makefile.am: * plugins/sample/Makefile.am: * plugins/sample/sample.c: (bmk_added), (bmk_removed), (bmk_changed), (switch_page_cb), (window_focus_in_cb), (location_changed_cb), (tab_added_cb), (new_window_cb), (plugin_init): * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon), (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.c: (update_favorites_menus): * src/bookmarks/ephy-topic-action.c: (build_bookmarks_menu): * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_quit), (impl_ephy_automation_load_session): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (provide_favicon): * src/ephy-location-action.c: (connect_proxy): * src/ephy-notebook.c: (sync_icon): * src/ephy-shell.c: (ephy_shell_get_active_window), (ephy_shell_get_session), (ephy_shell_get_autocompletion), (ephy_shell_get_toolbars_model): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_action): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_icon), (ephy_window_init), (remove_from_session), (ephy_window_get_active_tab):
* Fix up the tooltips.David Bordoley2003-07-111-10/+10
| | | | | | | | | 2003-07-10 David Bordoley <bordoley@msu.edu> * src/ephy-window.c: * src/toolbar.c: (toolbar_setup_actions): Fix up the tooltips.
* Update spinner when a tab was removed. Fixes bug #116908.Christian Persch2003-07-081-1/+3
| | | | | | | | 2003-07-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_load_status), (tab_removed_cb): Update spinner when a tab was removed. Fixes bug #116908.
* Set a label for the find toolbar item so that it doesn't have elipses.David Bordoley2003-07-011-0/+2
| | | | | | | | | 2003-07-01 David Bordoley <bordoley@msu.edu> * src/ephy-window.c: (setup_window): Set a label for the find toolbar item so that it doesn't have elipses.
* Correct usage of ellipses.Piers Cornwell2003-06-291-3/+3
| | | | | | | | | | | | 2003-06-28 Piers Cornwell <piersc@cogs.susx.ac.uk> * src/ephy-window.c: Correct usage of ellipses. * src/prefs-dialog.c: Correct spelling of Bokmal and several cleanups.
* Do not sync tab visibility on tab creation, it's state is undefined atMarco Pesenti Gritti2003-06-261-1/+0
| | | | | | | | | 2003-06-26 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (tab_added_cb): Do not sync tab visibility on tab creation, it's state is undefined at that point
* Make sure there's only one print dialog per window. Fixes bug #115933.Christian Persch2003-06-261-9/+8
| | | | | | | | 2003-06-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_print): Make sure there's only one print dialog per window. Fixes bug #115933.
* Remove some unused headers.Marco Pesenti Gritti2003-06-231-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/GlobalHistory.cpp: Remove some unused headers. * embed/mozilla/mozilla-embed.cpp: Dont asser when trying to print blank page. * lib/Makefile.am: * lib/ephy-autocompletion.c: (ephy_autocompletion_get_type): * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): Get rid of the gobject macros. * src/ephy-notebook.c: (move_tab), (move_tab_to_another_notebook), (button_release_cb), (update_tabs_visibility), (tabs_visibility_notifier), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_set_show_tabs): * src/ephy-notebook.h: * src/ephy-tabs-menu.c: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog), (print_dialog_preview_cb), (ephy_window_print): * src/ephy-window.h: * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print): Make sure tabs are hidden when going in print preview mode. Make print dialog transient.
* Correct translations dir (leftover from galeon)Marco Pesenti Gritti2003-06-231-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Correct translations dir (leftover from galeon) * embed/ephy-history.c: Lower expire to 10 days, similar to phoenix. Current interface and perf make this a better default. * lib/ephy-dialog.c: (ephy_dialog_init), (setup_default_size): Make sure to not state_add more than one time * lib/widgets/ephy-location-entry.c: (insert_text_cb): Do not show autocompletion on not focused window. This is to work around problems with gnome-entry. * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup), (tab_context_menu_cb): Do not use custom func to show mouse popups. Fix costum func to be smarter with screen limits.
* When following SAVE_POSITION/SAVE_SIZE flags actually not save themMarco Pesenti Gritti2003-06-221-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-state.c: (ephy_state_window_set_size), (ephy_state_window_set_position), (ephy_state_window_save_size), (ephy_state_window_save_position), (ephy_state_window_save), (window_configure_event_cb), (window_state_event_cb), (ephy_state_add_window): When following SAVE_POSITION/SAVE_SIZE flags actually not save them instead of just not restore. Do not use coords value to determine unset state but a boolean flag. (this will restore all saved states to NULL now) * lib/ephy-state.h: Add a NONE flag, it will restore but not save. * src/ephy-tab.c: (ephy_tab_set_title): Fix a warning when the url is NULL (popups) * src/ephy-window.c: (ephy_window_init), (ephy_window_show): Use normal size for not sized popups.
* Fix print preview toolbarsMarco Pesenti Gritti2003-06-221-6/+5
| | | | | | | | | | 2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (update_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_set_chrome): Fix print preview toolbars
* Rewrite the url typed by user overwrite logic to fix bugs.Marco Pesenti Gritti2003-06-201-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EphyWrapper.cpp: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_init), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_editable_changed_cb): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_link_message), (ephy_tab_set_window), (ephy_tab_address_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/popup-commands.c: (get_event_info), (popup_cmd_copy_link_address): * src/toolbar.c: (get_location_entry), (location_user_changed_cb), (toolbar_set_window), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: Rewrite the url typed by user overwrite logic to fix bugs.
* Get rid of get/set _event, reformat the header.Marco Pesenti Gritti2003-06-201-1/+15
| | | | | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_init): * src/ephy-tab.h: Get rid of get/set _event, reformat the header. * src/pdm-dialog.c: Fix compilation warning. * src/ephy-window.c: (popup_destroy_cb), (show_embed_popup): * src/popup-commands.c: (get_event_info): Less invasive way to access the event info from the callbacks.
* Move the context popup menu to ephy-window.c. If there's no backgroundChristian Persch2003-06-201-0/+119
| | | | | | | | | | | | | | 2003-06-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.h: * src/ephy-tab.c: (popup_menu_at_coords), (ephy_tab_show_embed_popup), (ephy_tab_context_menu_cb), (ephy_tab_set_event): * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): Move the context popup menu to ephy-window.c. If there's no background image, disable the SaveBackgroundAs menu entry.
* With the gtk fullscreen api things can be cleaner: use the api instead ofMarco Pesenti Gritti2003-06-191-175/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-19 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-types.h: * lib/ephy-state.c: (window_configure_event_cb), (window_state_event_cb): * src/ephy-window.c: (ephy_window_destroy), (ephy_window_class_init), (update_exit_fullscreen_popup_position), (size_changed_cb), (exit_fullscreen_button_clicked_cb), (update_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_state_event_cb), (setup_window), (sync_tab_icon), (sync_tab_load_progress), (sync_tab_load_status), (ephy_window_init), (save_window_chrome), (translate_default_chrome), (update_layout_toggles), (ephy_window_set_chrome), (ephy_window_show): * src/window-commands.c: (window_cmd_view_fullscreen): With the gtk fullscreen api things can be cleaner: use the api instead of chromes to handle fullscreen, dont persist window state when it's fullscreen. Destroy exit fullscreen button on window destroy. * src/ephy-shell.c: (ephy_shell_new_tab): Give up on cloning until we find a good way to do it :/
* Remove unused variables.Piers Cornwell2003-06-191-1/+1
| | | | | | | | | | | | | | | | | | 2003-06-18 Piers Cornwell <piersc@cogs.susx.ac.uk> * configure.in: Remove unused variables. * src/ephy-window.c: Add ellipse to Find menu item. * src/ephy-main.c: (ephy_main_start): Use the full program name, mark an error message as translatable and don't print any message on launch when a window is already open.
* Unify the "Copy Email Address" and "Copy Link Address" context menuChristian Persch2003-06-181-4/+2
| | | | | | | | | | | | | 2003-06-18 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml.in: * src/ephy-window.c: * src/popup-commands.h: * src/popup-commands.c: (popup_cmd_copy_email), (popup_cmd_copy_link_location), (popup_cmd_copy_link_address): Unify the "Copy Email Address" and "Copy Link Address" context menu entries. Fixes bug #115377.
* Some string fixes.Christian Persch2003-06-171-3/+3
| | | | | | | | | | 2003-06-16 Christian Persch <chpe@cvs.gnome.org> * data/ui/nautilus-epiphany-view.xml.in: * src/ephy-window.c: * src/prefs-dialog.c: Some string fixes.
* Make prev/next navigation capability an object property, and sync on embedChristian Persch2003-06-151-45/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-15 Christian Persch <chpe@cvs.gnome.org> * embed/find-dialog.h: * embed/find-dialog.c: (set_navigation_flags), (ephy_find_dialog_get_property), (find_dialog_class_init), (sync_embed), (find_get_info), (impl_show), (find_dialog_finalize), (find_dialog_go_next), (find_dialog_go_prev), (find_entry_changed_cb), (find_check_toggled_cb), (find_dialog_get_navigation_flags): Make prev/next navigation capability an object property, and sync on embed changes. * embed/find-dialog.c: (find_dialog_new_with_parent): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init), (ephy_embed_dialog_new), (ephy_embed_dialog_new_with_parent), (ephy_embed_dialog_set_embed): * embed/print-dialog.c: (print_dialog_new), (print_dialog_new_with_parent): s/EphyEmbed/embed/ for the object property name. * src/ephy-window.h: * src/ephy-window.c: (sync_find_dialog), (update_find_control), (ephy_window_switch_page_cb), (find_dialog_search_cb), (ephy_window_get_find_dialog): * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Sync on the find dialog on nav capability and embed changes instead of explicit updating.
* Respect the bookmarks bar visibility user choice also for popups.Marco Pesenti Gritti2003-06-141-2/+8
| | | | | | | | | | | | 2003-06-14 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-types.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (translate_default_chrome), (ephy_window_set_chrome): Respect the bookmarks bar visibility user choice also for popups.
* Make visibility a tab GObject property.Christian Persch2003-06-141-33/+40
| | | | | | | | | | | | | | | | 2003-06-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_get_property), (ephy_tab_set_property), (ephy_tab_class_init), (ephy_tab_get_visibility), (ephy_tab_visibility_cb): Make visibility a tab GObject property. * src/ephy-window.h: * src/ephy-window.c: (sync_tab_visibility), (update_window_visibility), (tab_added_cb), (tab_removed_cb): Sync on tab visibility changes.
* Fix yet another mem leak.Christian Persch2003-06-141-3/+8
| | | | | | | | 2003-06-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy_window.c: (update_window_visibility): Fix yet another mem leak.
* The Friday the 13th Mega Patch. Beware!Christian Persch2003-06-131-352/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-13 Christian Persch <chpe@cvs.gnome.org> The Friday the 13th Mega Patch. Beware! * src/ephy-notebook.h: * src/ephy-notebook.c: (ephy_notebook_class_init), (ephy_notebook_move_page), (drag_stop), (ephy_notebook_init), (ephy_notebook_set_page_status), (sync_load_status), (ephy_notebook_set_page_icon), (sync_icon), (ephy_notebook_set_page_title), (sync_label), (build_tab_label), (update_tabs_visibility), (ephy_notebook_insert_page), (ephy_notebook_remove_page): Reworked notebook signals. Now we have tab_added, tab_removed, tab_detached and tabs_reordered; emit them at appropriate times. Don't offer the ephy_notebook_set_x functions anymore; instead we sync on the tab's gobject properties. * src/ephy-tab.h: * src/ephy-tab.c: (ephy_tab_update_color), (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_set_load_status), (ephy_tab_set_link_message), (ephy_tab_set_is_active), (ephy_tab_get_is_active), (ephy_tab_set_favicon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_tab_link_message_cb), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_security_change_cb), (ephy_tab_init), (ephy_tab_set_load_percent), (ephy_tab_update_navigation_flags), (ephy_tab_get_navigation_flags), (ephy_tab_get_status_message), (ephy_tab_set_title): Removed the is_active flag. Made load-status property boolean (true means loading), removing the TAB_LOAD_NONE/TAB_LOAD_COMPLETED distinction. Add navigation flags object property. Remove all calls to ephy_window_update_x, instead let the window sync on object properties. Fix statusbar message bug. * src/ephy-tabs-menu.c: (tab_set_action_accelerator): Fix accelerator for tabs with position > 10. * src/ephy-window.h: * src/ephy-window.c: (ephy_window_destroy_cb), (setup_window), (sync_tab_address), (sync_tab_icon), (sync_tab_load_progress), (sync_tab_load_status), (sync_tab_message), (sync_tab_navigation), (sync_tab_security), (sync_tab_stop), (sync_tab_title), (sync_tab_zoom), (ephy_window_set_active_tab), (update_tabs_menu), (tab_added_cb), (tab_removed_cb), (tab_detached_cb), (tabs_reordered_cb), (setup_notebook), (ephy_window_init), (ephy_window_add_tab), (real_get_active_tab), (ephy_window_remove_tab), (update_status_message), (update_progress), (update_security), (update_nav_control), (update_zoom_control), (update_title_control), (update_location_control), (update_favicon_control), (update_spinner_control), (ephy_window_update_control), (ephy_window_get_active_tab), (ephy_window_get_active_embed), (ephy_window_notebook_switch_page_cb), (ephy_window_tab_detached_cb): Sync on the active tab's object properties, and sync on the load status of all tabs for the spinner. * src/toolbar.c: (toolbar_update_navigation_actions): Correct inverted logic.
* Update.Marco Pesenti Gritti2003-06-121-13/+5
| | | | | | | | | | | | | | | | 2003-06-12 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtreemodelfilter.c: Update. * src/ephy-window.c: (ephy_window_selection_received_cb), (menu_activate_cb): Do not set clipboard items sensitivity, because there is not a good way to do it atm. Open url on middle click (on the page) in the same tab.
* Do not emit the TABS_CHANGED signal; the tab's egg action will itself takeChristian Persch2003-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_set_page_title): Do not emit the TABS_CHANGED signal; the tab's egg action will itself take care of updating the menu entry. * src/ephy-tab.h: * src/eph-tab.c: (ephy_tab_set_property), (ephy_tab_get_property) (ephy_tab_class_init): Object properties for tab address, icon-address, load-progress, load-status, message, security, title, window and zoom. * src/ephy-tab.c: (ephy_tab_action_activate_cb), (ephy_tab_get_action), (ephy_tab_init): Augment the tab by an egg action for use in the tabs menu. * src/ephy-tab.c: (ephy_tab_set_load_status), (ephy_tab_set_link_message), (ephy_tab_set_favicon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_get_icon_address), (ephy_tab_favicon_cb), (ephy_tab_address_cb), (ephy_tab_title_cb), (build_net_state_message), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_security_change_cb), (ephy_tab_set_load_percent), (ephy_tab_get_load_percent), (ephy_tab_get_status_message), (ephy_tab_set_title), (ephy_tab_set_location), (ephy_tab_set_security_level), (ephy_tab_get_security_level), (ephy_tab_set_zoom), (ephy_tab_get_zoom): Getters/setters for the tab's object properties. Use the setters in the callbacks instead of setting the values directly. * src/ephy-tabs-menu.c: (ephy_tabs_menu_set_action_accelerator), (ephy_tabs_menu_update): Use the tab's egg action directly instead of dummy egg actions. This makes updating the tab titles in the tabs menu work automagically.
* Fixup context menu accesskeys. Use correct icon for Save As.Piers Cornwell2003-06-091-6/+9
| | | | | | | | | 2003-06-08 Piers Cornwell <piersc@cogs.susx.ac.uk> * data/ui/epiphany-ui.xml.in: * src/ephy-window.c: Fixup context menu accesskeys. Use correct icon for Save As.
* Fix mem leaks.Christian Persch2003-06-091-3/+15
| | | | | | | | | 2003-06-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_favicon_control), (update_spinner_control): Fix mem leaks.
* Do not save when fullscreenMarco Pesenti Gritti2003-06-061-7/+3
| | | | | | | | 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (save_window_chrome): Do not save when fullscreen
* s/ask download/ask for downloadMarco Pesenti Gritti2003-06-061-3/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: s/ask download/ask for download * lib/egg/egg-editable-toolbar.c: (toolbar_changed_cb), (egg_editable_toolbar_set_model): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags), (egg_toolbars_model_class_init): * lib/egg/egg-toolbars-model.h: * lib/egg/eggtoolbar.c: (egg_toolbar_internal_insert_element): Update. * src/ephy-toolbars-model.c: (ephy_toolbars_model_set_flag), (ephy_toolbars_model_unset_flag): * src/ephy-toolbars-model.h: Add a way to set/unset a flag on all toolbars. * src/ephy-window.c: (ephy_window_init), (translate_default_chrome), (update_exit_fullscreen_popup_position), (size_changed_cb), (exit_fullscreen_button_clicked_cb), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_set_chrome): Implement an exit fullscreen button. Force toolbars style to be icon only.
* Make sure to rebuild on add bookmark and on topic removal. Update on idle,Marco Pesenti Gritti2003-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_updates), (bookmarks_tree_changed_cb), (ephy_bookmarks_menu_init): * src/bookmarks/ephy-bookmarks.c: (bookmarks_changed_cb), (topics_removed_cb), (ephy_bookmarks_add): Make sure to rebuild on add bookmark and on topic removal. Update on idle, so things like importing bookmarks doesnt take two days. * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_init_services), (load_homepage), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-window.c: (setup_window): * src/session.c: (parse_embed): Drop NOT_JUMP_TO flag, we dont have a pref anymore. On new page instead of really clone the page, just clone the url (put it in the address entry). So if the user need it it's easy to load, but there are not the inacceptable slow downs of real cloning. Let's see how this works ...
* Implement bookmarks menu, might need to be optimized later.Marco Pesenti Gritti2003-06-041-0/+4
| | | | | | | | | | | | | | | | 2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (bookmarks_changed_cb), (bookmarks_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_not_categorized): * src/bookmarks/ephy-bookmarks.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_finalize): Implement bookmarks menu, might need to be optimized later.
* Add a bookmarks menu. (still not the tree)Marco Pesenti Gritti2003-06-041-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-ui.xml.in: Add a bookmarks menu. (still not the tree) * src/bookmarks/ephy-bookmark-action.c: (create_menu_item), (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_sync_label), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): Implement create_menu_item. * src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (go_location_cb), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_set_property), (ephy_favorites_menu_get_property), (ephy_favorites_menu_class_init), (ephy_favorites_menu_init), (ephy_favorites_menu_finalize), (ephy_favorites_menu_new): Use bookmark action. * src/ephy-window.c: Change verbs for bookmarks menu.
* Get rid of MAKE_GET_TYPE; make building the tabs menu a little faster.Christian Persch2003-05-291-4/+2
| | | | | | | | | | | | | | 2003-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type), (ephy_tabs_menu_verb_cb), (ephy_tabs_menu_rebuild): Get rid of MAKE_GET_TYPE; make building the tabs menu a little faster. * src/ephy-window.c: (update_tabs_menu_sensitivity), (ephy_window_get_tabs): Remove one unnecessary call to ephy_tabs_update_menu ().
* Yet more new tab logic fixes.Xan Lopez2003-05-221-1/+4
| | | | Yet more new tab logic fixes.
* Simplified and reorganised zoom. Implement a zoom control for the toolbar.Christian Persch2003-05-201-14/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-19 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> Simplified and reorganised zoom. Implement a zoom control for the toolbar. * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.h: * lib/widgets/ephy-zoom-control.c: New. A simple zoom control and a corresponding egg action. * lib/ephy-zoom.h: * lib/ephy-zoom.c: New. Define the supported zoom levels, plus some helper functions. * data/ui/epiphany-toolbar.xml.in: * src/toolbar.h: * src/toolbar.c: (toolbar_update_zoom_control), (zoom_to_level_cb), (toolbar_setup_actions): Hook up zoom control. * src/ephy-window.c: (toolbar_update_zoom_control): New. Updates toolbar zoom control and menu item sensitivity. * embed/mozilla/mozilla-embed.c: (impl_zoom_set, impl_zoom_get): * embed/ephy-embed.[ch]: (zoom_set), (zoom_get), (ephy_embed_zoom_set), (ephy_embed_zoom_get): * lib/ephy-marshal.list: * src/ephy-nautilus-view.c: (gnv_embed_zoom_change_cb), (gnv_zoomable_set_zoom_level_cb): * src/ephy-tab.c: (ephy_tab_zoom_changed_cb): * src/ephy-window.c: (ephy_window_set_zoom): Use float zoom factor instead of int percent for zoom. * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (ephy_nautilus_view_class_init), (gnv_zoomable_set_zoom_level_cb), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb), (gnv_zoomable_zoom_to_default_cb), (gnv_embed_zoom_change_cb): * src/window-commands.c: (window_cmd_view_zoom_in), (window_cmd_view_zoom_out), (window_cmd_view_zoom_normal): Simplified; use ephy-zoom.h where appropriate.
* Use gtk api for fullscreen, not wm directlyMarco Pesenti Gritti2003-05-171-53/+8
| | | | | | | | 2003-05-17 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (ephy_window_set_chrome): Use gtk api for fullscreen, not wm directly
* Fixed many issues mentioned in #112781.Christian Neumair2003-05-171-1/+1
|
* Marco Pesenti Gritti <marco@it.gnome.org>David Bordoley2003-05-171-74/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-17 David Bordoley <bordoley@msu.edu> Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-ui.xml.in: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item): * src/ephy-notebook.c: (ephy_notebook_class_init), (ephy_notebook_move_page), (move_tab), (notebook_drag_data_received_cb), (ephy_notebook_init), (ephy_notebook_set_page_status), (update_tabs_visibility), (ephy_notebook_insert_page), (ephy_notebook_remove_page), (ephy_notebook_set_page_title): * src/ephy-notebook.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init), (ephy_tabs_menu_init), (ephy_tabs_menu_clean), (ephy_tabs_menu_finalize_impl), (ephy_tabs_menu_set_property), (ephy_tabs_menu_get_property), (ephy_tabs_menu_new), (ephy_tabs_menu_verb_cb), (ephy_tabs_menu_set_action_accelerator), (ephy_tabs_menu_rebuild), (ephy_tabs_menu_update): * src/ephy-tabs-menu.h: * src/ephy-window.c: (setup_window), (update_tabs_menu_sensitivity), (ephy_window_tabs_changed_cb), (setup_notebook), (ephy_window_init), (ephy_window_finalize), (ephy_window_update_control), (ephy_window_update_all_controls), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right), (window_cmd_tabs_detach): Implement a list of tabs at the bottom of tabs menu. Add a changed signal to the notebook and use it to update list and sensitivity.
* Add some flags so that we can choose to save position or size or both.David Bordoley2003-05-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 David Bordoley <bordoley@msu.edu> * lib/ephy-state.c: (ephy_state_add_window): * lib/ephy-state.h: (EphyStateWindowFlags): Add some flags so that we can choose to save position or size or both. * lib/ephy-dialog.c: (setup_default_size): * src/ephy-window.c: (ephy_window_show): * src/window-commands.c: (window_cmd_edit_toolbar): * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): Only save size for dialogs and main windows. * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Save size and position.
* s/location/address. Fix up mnemonic collisions in the print dialog. MarkDavid Adam Bordoley2003-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-08 David Adam Bordoley <bordoley@msu.edu> * TODO: * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * data/glade/print.glade: * src/ephy-history-window.c: (ephy_history_ui_entries []) (ephy_history_window_update_menu), (ephy_history_window_construct): * src/ephy-window.c: (ephy_popups_entries []), * src/toolbar.c: (toolbar_setup_actions): * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmark_popup_entries []), (ephy_bookmarks_editor_update_menu): s/location/address. Fix up mnemonic collisions in the print dialog. Mark toolbar action names for translation. s/location/"address entry" for the entry bar name (this may change depending on what the docs team says). Add a todo about changing code to use address where appropriate.
* Implement the EPHY_NEW_TAB_APPEND_AFTER flag.Christian Persch2003-05-061-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-05 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/ephy-shell.c: * src/ephy-shell.h: (ephy_shell_new_tab): Implement the EPHY_NEW_TAB_APPEND_AFTER flag. * src/ephy-window.c: * src/ephy-window.h: (ephy_window_add_tab): Changed parameter (gboolean) groupde to (gint) position, to support specifying the position in the notebook to insert the new tab into. * src/ephy-shell.c: (ephy_shell_new_window_cb): * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix callers of ephy_window_add_tab for new parameter. * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_init), (ephy_notebook_insert_page): Implement drag-and-drop of links to tabs.
* ctrl+u view sourceMarco Pesenti Gritti2003-05-051-1/+1
| | | | | | | | 2003-05-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: ctrl+u view source