aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.h
Commit message (Collapse)AuthorAgeFilesLines
* Append new tab on the window with most tabs in the current workspaceGustavo Noronha Silva2012-12-111-0/+2
| | | | | | | | | | This change uses a different heuristic to decide on what the best window to add a new tab is from the last window which has been interacted with, which might even be in a different workspace, to the window with the most tabs in the current workspace. If no window exists on the current workspace one will be created. Partial fix for https://bugzilla.gnome.org/show_bug.cgi?id=685976
* Make sure windows are properly closed when quitting from the shell menuCarlos Garcia Campos2012-09-271-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679844
* ephy-window: remove unneeded includeXan Lopez2012-01-241-1/+0
|
* ephy-window: make ephy_window_get_find_toolbar privateXan Lopez2012-01-211-2/+0
| | | | | Surely this is not interesting for anyone outside Epiphany? It's not used in extensions.
* Make ephy_window_get_ui_manager return a GtkUIManager, not a GObjectXan Lopez2012-01-211-1/+1
| | | | | No clue why it was doing that, but seems pointless. I wish I could make it private but it's used all over the place.
* ephy-window: make ephy_window_set_location privateXan Lopez2012-01-211-2/+0
| | | | | Setting the EphyWindow's location string directly is the kind of crack that has to be private.
* Be a bit more strict about header includesXan Lopez2012-01-201-1/+1
|
* More private method cleanupsXan Lopez2012-01-201-5/+0
| | | | | Move another method to ephy-private.h, and stop exporting another one that is only used internally in EphyWindow.
* Add a ephy-private.h headerXan Lopez2012-01-201-4/+0
| | | | | | This should hold methods needed by Epiphany internally but that we do not want to export. Only a couple of them so far, but we should probably add a lot more.
* ephy-window: remove redundant includesXan Lopez2012-01-201-2/+0
|
* ephy-window: missing annotationXan Lopez2012-01-201-0/+1
|
* Rename EphyLocationAction -> EphyLocationControllerCosimo Cecchi2012-01-201-2/+2
| | | | | | Since it's not a GtkAction anymore. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* location-action: don't make this a GtkAction anymoreCosimo Cecchi2012-01-201-0/+2
| | | | | | | It doesn't really make sense in a world where the location action is only used on a fixed toolbar, and complicates the code a lot. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* Stop using GtkUIManager to create the toolbarXan Lopez2012-01-171-0/+2
| | | | Otherwise it's difficult to get the right layout for theming.
* Use the new Shell global menu for global actionsXan Lopez2012-01-141-2/+2
| | | | And remove them from the existing menubar.
* Remove ephy_window_get_toolbarXan Lopez2011-12-141-2/+0
| | | | The only use in window-commands.c is not superfluous.
* Remove custom EphyToolbar in favor of a vanilla GtkToolbarXan Lopez2011-12-141-1/+3
| | | | | | | | | | | | | This allows us to stop using EggEditableToolbar here, we just load a normal toolbar from GtkUIManager in EphyWindow. The special toolbar actions and methods have been moved to EphyWindow too, mostly in a mechanical fashion (probably some simplifications are possible). The code in the bookmarks UI that depended on EphyToolbar has been #if zeroed instead of porting it, since it will go away in the near future too. https://bugzilla.gnome.org/show_bug.cgi?id=664483
* ephy-window: add new downloads UIDiego Escalante Urrelo2011-03-081-0/+3
| | | | | | | | | Downloads are shown per-window, imitating Chromium's bottom bar. If the window being closed has active downloads, a warning dialog will be shown just as when forms have been modified but not sent. An active download is any download that is not yet 100% complete. Bug #618443
* Use a chromium-like status bar by defaultXan Lopez2010-05-191-2/+0
| | | | | | | | | | Get rid of our statusbar for good and switch to something like what Chromium uses, since it takes less vertical space. The only regression is that we lose the resize grip, but that should be re-added to GtkWindow soon. Bug #609713
* Implemented print previewJose Millan Soto2010-02-091-4/+0
| | | | | | | | | | | | | | Created function ephy_web_view_show_print_preview, which replaces the old implementation of print preview, which was not working now. Preview is displayed in an external viewer, so print preview mode does no longer exist. All functions of the old implementation of print preview have been removed, PPViewToolbar was removed also. Also, as EphyWebView has no more a print preview mode, all functions which checked if a view was in print preview mode were modified. Bug #609021
* docs: ephy-windowDiego Escalante Urrelo2009-12-031-5/+0
| | | | | | | Also make _ephy_window_set_context_event and _ephy_window_unset_context_event static since noone was using those. Bug #503852
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-051-1/+1
| | | | | | | EphyWebView. Those two embed classes are pretty much dummy leftovers, so it should be easier to remove them now.
* Remove $Id$ marker from source files.Xan Lopez2009-01-161-1/+0
| | | | svn path=/trunk/; revision=8695
* Do not do single includes for GTK+, bug #536090Diego Escalante Urrelo2008-06-041-1/+1
| | | | svn path=/trunk/; revision=8265
* Add epiphany.h. Only allow including epiphany/epiphany.h; all otherChristian Persch2008-04-121-0/+4
| | | | | | | Add epiphany.h. Only allow including epiphany/epiphany.h; all other headers are internal. svn path=/trunk/; revision=8210
* Move print-preview property to EphyEmbedContainer interface.Xan Lopez2007-11-171-1/+1
| | | | | | | | Also make it read-only and make the setter in EphyWindow semi-private for now (should be removed eventually, making the window be notified from the embed of the status). svn path=/trunk/; revision=7709
* Port EphyWindow to the new interface.Xan Lopez2007-11-161-17/+0
| | | | svn path=/trunk/; revision=7693
* Renamed ephy_tab_get_active_embed to _tab.Christian Persch2007-10-281-1/+1
| | | | svn path=/trunk/; revision=7584
* Remove EphyTab.Christian Persch2007-10-281-6/+3
| | | | svn path=/trunk/; revision=7582
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-121-1/+1
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Use UTF-8 copyright symbolChristian Persch2006-09-131-1/+1
|
* H18 patch, by Peter Harvey <pah06@uow.edu.au>.Peter Harvey2005-10-171-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Peter Harvey <pah06@uow.edu.au> H18 patch, by Peter Harvey <pah06@uow.edu.au>. * data/ui/epiphany-bookmark-editor-ui.xml: * data/ui/epiphany-ui.xml: * lib/egg/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (set_dock_visible), (remove_item_cb), (remove_toolbar_cb), (toggle_visibility_cb), (egg_editable_toolbar_add_visibility_items), (egg_editable_toolbar_add_popup_items), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_avail), (egg_toolbars_model_get_n_avail), (egg_toolbars_model_set_n_avail): * lib/egg/egg-toolbars-model.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action-group.c: (smart_added_cb), (smart_removed_cb), (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action-group.h: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_icon), (show_context_menu), (popup_menu_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_updated), (ephy_bookmark_action_get_bookmark), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_name), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-factory-action.c: (ephy_bookmark_factory_action_get_type), (activate_item_cb), (build_menu_for_topic), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_bookmark_factory_action_class_init), (ephy_bookmark_factory_action_new): * src/bookmarks/ephy-bookmark-factory-action.h: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (update_entry), (location_entry_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (add_entry_monitor), (cmd_add_topic), (delete_topic_dialog_construct), (cmd_bookmarks_import), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu), (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (bookmarks_filter), (search_entry_search_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_set_parent), (ephy_bookmarks_editor_set_property), (ephy_bookmarks_editor_get_property), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks-menu.c: (append_bookmarks), (append_menu), (ephy_bookmarks_menu_build): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks-ui.c: (find_action), (activate_bookmarks_menu), (activate_favorites_menu), (erase_bookmarks_menu), (erase_favorites_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (ephy_bookmarks_ui_detach_window), (toolbar_node_removed_cb), (topic_has_data), (topic_get_data), (topic_get_name), (bookmark_has_data), (bookmark_get_data), (bookmark_get_name), (bookmark_new_name), (ephy_bookmarks_ui_attach_toolbar_model), (ephy_bookmarks_ui_detach_toolbar_model): * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type), (ephy_bookmarks_init_defaults), (ephy_bookmarks_class_init), (ephy_bookmarks_save_delayed), (add_to_favorites), (update_bookmark_keywords), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add), (ephy_bookmarks_set_address), (ephy_bookmarks_set_icon), (ephy_bookmarks_add_keyword), (ephy_bookmarks_show_bookmark_properties), (ephy_bookmarks_get_from_id), (ephy_bookmarks_compare_topics), (ephy_bookmarks_compare_topic_pointers), (ephy_bookmarks_compare_bookmarks), (ephy_bookmarks_compare_bookmark_pointers): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_count_covered), (ephy_nodes_remove_covered), (ephy_nodes_remove_not_covered), (ephy_nodes_get_covered), (ephy_nodes_covered), (ephy_nodes_get_covering): * src/bookmarks/ephy-nodes-cover.h: * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (iface_init), (ephy_related_action_get_type), (ephy_related_action_new): * src/bookmarks/ephy-related-action.h: * src/bookmarks/ephy-topic-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_topic_group_new): * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (create_tool_item), (ephy_topic_action_sync_label), (get_popup), (erase_popup), (child_added_cb), (child_changed_cb), (child_removed_cb), (menu_destroy_cb), (menu_init_cb), (button_deactivate_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy), (ephy_topic_action_updated), (ephy_topic_action_get_topic), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_name), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topic-factory-action.c: (ephy_topic_factory_action_get_type), (sort_topics), (activate_item_cb), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_topic_factory_action_class_init), (ephy_topic_factory_action_new): * src/bookmarks/ephy-topic-factory-action.h: * src/ephy-link-action.c: (ephy_link_action_group_get_type), (ephy_link_action_group_new): * src/ephy-link-action.h: * src/ephy-lockdown.c: (find_name), (find_action_group), (update_window): * src/ephy-notebook.c: (move_tab_to_another_notebook), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor), (ephy_toolbar_editor_finalize), (ephy_toolbar_editor_set_property), (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_realize), (ephy_toolbar_unrealize), (ephy_toolbar_finalize): * src/ephy-toolbars-model.c: (update_flags), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_get_type), (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_key_press_event), (tool_item_enter_cb), (tool_item_leave_cb), (tool_item_drag_begin_cb), (connect_tool_item), (disconnect_tool_item), (disconnect_proxy_cb), (connect_proxy_cb), (update_chromes_actions), (show_embed_popup), (tab_added_cb), (tab_removed_cb), (ephy_window_set_chrome), (ephy_window_dispose), (ephy_window_class_init), (ephy_window_init), (ephy_window_finalize), (ephy_window_remove_tab), (ephy_window_set_zoom), (sync_prefs_with_chrome), (ephy_window_view_toolbar_cb): * src/ephy-window.h: Revision history: h18, released 2005/09/23, for Epiphany 1.8.0 * Just an update for 1.8.0. h17, released 2005/08/30, for Epiphany 1.7.6 or CVS HEAD * Mostly just an update for 1.7.6. * Topic menus on the toolbar now open without releasing the mouse button. * Topic menus on the toolbar are now also hierarchical (see if you like it. h16, released 2005/08/25, for Epiphany 1.7.5 or CVS HEAD * Just an update for 1.7.5. Sorry, I've been busy. :) h15, released 2005/07/19, for Epiphany 1.7.2 or CVS HEAD * Code cleanup h14, released 2005/07/9, for Epiphany 1.7.1 or CVS HEAD * Improved helpful tip when adding a bookmark * Improved toolbar context menu * Toolbar visibility state is now saved * Separated bookmark/topic action groups into separate files * Topics in the overflow menu now behave as submenus * Now importing old bookmarksbar, and saving to new filename * Incremented toolbar file format version number to 1.1 * Fixed the 'sticky' statusbar help * Fixed a crashing bug (dnd then open a topic on the toolbar) h13, released 2005/05/12, for CVS HEAD * Added middle-mouse drag-drop for the editable toolbar. * Fixed some warnings at compile and run time. * Added brief help for the user when adding a new bookmark. * Cleaned up the editable toolbar code a little. h12, released 2005/05/10, for CVS HEAD * Added new editing facilities for the editable toolbar. h11, released 2005/04/29, for CVS HEAD * Fixed bug in statusbar information for toolbar items. * Added an all-new 'Related' toolbar widget which changes to show the most related topic whenever a bookmark is activated. h10, released 2005/04/15, for Epiphany 1.6.2 or CVS HEAD * Added statusbar information for all toolbar items. * Empty toolbars are now only deleted when exiting edit mode. * Fixed regression of middle-click for bookmarks on toolbar. * Fixed regression of ellipsized bookmark names in menus. h9, released 2005/04/12, for Epiphany 1.6.1 * Updated patch for 1.6.1. Long time no see. * Now using EphyLink objects everywhere. h7, released 2004/10/21, for Epiphany 1.4.4 * Updated patch for 1.4.4. * Fixed bugs causing crashes when bookmarks were added (thanks Reinout). * Added "Open in Tabs" back into bookmark menus where suitable. h6, released 2004/09/20, for Epiphany 1.4.0 * Updated patch for 1.4.0. * Removed the bookmarks bar. * Generate shared XML string for bookmarks menu. * Slightly improve performance of node-cover code. * Delay adding bookmarks menu until it is first used. * Fixed bug(?) in ephy-node. h4, released 2004/08/08, for Epiphany 1.3.4 * Updated patch due to changes to topics selector. * Removed 'Most Visited' from the min-cover calculations. * Fixed Epiphany 1.3.4 bug where topics in selector aren't sorted. * Updated patch due to other changes in Epiphany 1.3.4 source. h3, released 2004/07/12, for Epiphany 1.3.2 * Simple update for Epiphany 1.3.2 h3, released 2004/05/24, for Epiphany 1.2.5 * Moved duplicated functions into a seperate file. * Improved topic selector. * Bookmarks toolbar topic menus now have subdivisions. * Topic names in menu now change if modified in the bookmarks editor. h2, released 2004/05/23, for Epiphany 1.2.5 * Significantly cleaned up the code. * 'Most Visited' no longer appears as a submenu. * Subtopics are selected much more intelligently, giving a better approximation to a true minimum cover. * Topic selector now shows suggestions with arrows, not bold font. h1, released 2004/05/19, for Epiphany 1.2.5 * Initial release.
* Make the methods to unset/release the context event semi-public.Christian Persch2005-09-191-0/+5
| | | | | | | | | | | 2005-09-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (_ephy_window_set_context_event), (_ephy_window_unset_context_event), (embed_popup_deactivate_cb), (show_embed_popup), (ephy_window_dispose): * src/ephy-window.h: Make the methods to unset/release the context event semi-public.
* Add public function ephy_window_get_context_event() to get theChristian Persch2005-08-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Handle Ctrl-F like / to open the find bar without focusing it. Fixes linkChristian Persch2005-06-091-2/+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.
* Deactivate typeaheadfind in print preview mode.Christian Persch2005-05-301-0/+2
| | | | | | | | | | | | | | | | | 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.
* Check for toolkit nsITypeAheadFind.Christian Persch2005-05-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Rework popup windows. Introduce "is-popup" property on EphyWindow toChristian Persch2005-04-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove unused include from public header ephy-window.h.Christian Persch2005-01-091-2/+0
| | | | | | | | | | | | | | 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.
* Remove ephy_window_print().Christian Persch2005-01-031-2/+0
| | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.h: Remove ephy_window_print(). * embed/ephy-encodings.h: Remove unused enum.
* Remove obsolete ephy_window_load_in_tabs() and use generic link openingChristian Persch2004-12-241-4/+0
| | | | | | | | | | | | | 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.
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-231-1/+1
| | | | | | | | | | | | | | | 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-7/+5
| | | | | | | | | | | 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.
* Add ephy_window_get_ui_manager(), and remove the manager from the publicChristian Persch2004-09-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add EphyWindow API to open multiple uris in tabs, use it for dnd on theMarco Pesenti Gritti2004-06-241-0/+4
| | | | | | | | | | | | 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.
* Merging bookmarksbar-separation branch.Christian Persch2004-06-111-0/+2
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* Get rid of ephy_tab_[get|set]_window().Christian Persch2004-03-241-1/+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/+2
|
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-191-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling.
* Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.Christian Persch2004-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move Toolbar struct decl to toolbar.h.Christian Persch2003-12-251-1/+0
| | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.h: * src/toolbar.h: Move Toolbar struct decl to toolbar.h.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-251-2/+2
| | | | | | | | | | | | | | | | | | | | 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.
* Move events code inside EphyBrowser.cpp and add an event for blockedAdam Hooper2003-12-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* Split print dialogue in print setup and actual print, and move printChristian Persch2003-12-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature. 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.h: * embed/ephy-download.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.h: * embed/ephy-embed-shell.h: * embed/ephy-embed-single.h: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.h: * embed/ephy-history.h: * embed/find-dialog.h: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.h: * embed/print-dialog.h: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.h: * lib/ephy-debug.h: * lib/ephy-dialog.h: * lib/ephy-dnd.h: * lib/ephy-file-chooser.h: * lib/ephy-node-db.h: * lib/ephy-node-filter.h: * lib/ephy-node.h: * lib/ephy-prefs.h: * lib/ephy-state.h: * lib/ephy-string.h: * lib/ephy-zoom.h: * lib/widgets/ephy-arrow-toolbutton.h: * lib/widgets/ephy-cell-renderer-progress.h: * lib/widgets/ephy-ellipsizing-label.h: * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.h: * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topics-selector.h: * src/ephy-automation.h: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.h:
* Get rid of the last vestige of ephy_window_update_control(), and make theChristian Persch2003-10-181-8/+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.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-7/+7
|
* Rework find implementation to integrate better with type ahead and toMarco Pesenti Gritti2003-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove some unused headers.Marco Pesenti Gritti2003-06-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move the context popup menu to ephy-window.c. If there's no backgroundChristian Persch2003-06-201-0/+1
| | | | | | | | | | | | | | 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.
* Make prev/next navigation capability an object property, and sync on embedChristian Persch2003-06-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make visibility a tab GObject property.Christian Persch2003-06-141-1/+0
| | | | | | | | | | | | | | | | 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.
* The Friday the 13th Mega Patch. Beware!Christian Persch2003-06-131-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* continuing checkin of previous patch (cvs aborted "broken pipe")Christian Persch2003-05-281-1/+1
| | | | | | 2003-05-28 Christian Persch <chpe@cvs.gnome.org> continuing checkin of previous patch (cvs aborted "broken pipe")
* Simplified and reorganised zoom. Implement a zoom control for the toolbar.Christian Persch2003-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Marco Pesenti Gritti <marco@it.gnome.org>David Bordoley2003-05-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Implement the EPHY_NEW_TAB_APPEND_AFTER flag.Christian Persch2003-05-061-1/+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.
* New history dialog implementation. More similar to bookmarks. Yeah itMarco Pesenti Gritti2003-04-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/Makefile.am: * embed/ephy-history.c: (ephy_history_init): * embed/ephy-history.h: * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_show_bookmarks_editor), (history_window_hide_cb), (ephy_shell_show_history_window): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog): * src/ephy-window.h: * src/window-commands.c: (window_cmd_go_history): New history dialog implementation. More similar to bookmarks. Yeah it still sucks ... but the hard part is done.
* Remove some api that was just silly wrappers. Return GtkTreeViewColumn onMarco Pesenti Gritti2003-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_select_all), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_remove): * src/bookmarks/ephy-node-view.h: Remove some api that was just silly wrappers. Return GtkTreeViewColumn on add_column. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): * src/ephy-window.h: * src/session.c: (parse_embed): Ever open tab as last on File->New tab and similars.
* Merge eog-menu-api branchMarco Pesenti Gritti2003-01-211-8/+4
| | | | | | 2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org> * Merge eog-menu-api branch
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+140