aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename ephy_web_view_get_load_status to ephy_web_view_is_loadingXan Lopez2009-08-251-1/+1
| | | | | Much more clear, and avoids confusions with the WebKitWebView function with similar name.
* ephy-notebook: remove old FIXMEDiego Escalante Urrelo2009-08-071-5/+0
|
* ephy-notebook.c: connect to embed-title, not to title.Xan Lopez2009-06-161-1/+1
| | | | | embed-title is the poorly named wrapper over the WebKitWebView's title signal.
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-051-15/+21
| | | | | | | EphyWebView. Those two embed classes are pretty much dummy leftovers, so it should be easier to remove them now.
* Reimplement tabs detaching and tabs DND.Christian Persch2008-06-131-11/+24
| | | | svn path=/trunk/; revision=8278
* Do not do single includes for GTK+, bug #536090Diego Escalante Urrelo2008-06-041-9/+1
| | | | svn path=/trunk/; revision=8265
* Fix cropped close button on tab labels with gnome-icon-theme 2.21.x.Cosimo Cecchi2008-01-151-4/+10
| | | | | | Bug #499983. svn path=/trunk/; revision=7865
* Move EphyNotebook to G_DEFINE_TYPE.Xan Lopez2007-11-181-56/+19
| | | | svn path=/trunk/; revision=7717
* Can't use an interface type in signal registrationChristian Persch2007-10-281-1/+1
| | | | svn path=/trunk/; revision=7608
* Remove EphyTab.Christian Persch2007-10-281-35/+32
| | | | svn path=/trunk/; revision=7587
* Port src/ to the new properties in EphyEmbed.Xan Lopez2007-10-261-2/+2
| | | | svn path=/trunk/; revision=7564
* Change ephy_embed_get_title to return const char*.Xan Lopez2007-10-261-1/+1
| | | | | | Also replace all ephy_tab_get_title by ephy_embed_get_title. svn path=/trunk/; revision=7559
* Move load-status from EphyTab to EphyEmbed.Xan Lopez2007-10-221-5/+5
| | | | svn path=/trunk/; revision=7547
* Update version and API version to 2.21Christian Persch2007-09-131-2/+1
| | | | svn path=/trunk/; revision=7398
* Remove cruftChristian Persch2007-08-201-3/+0
| | | | svn path=/trunk/; revision=7285
* Checks that if we are dragging an element of type EPHY_DND_URI_LIST_TYPEDiego Escalante Urrelo2007-07-261-2/+2
| | | | | | | | | | | | | 2007-07-25 Diego Escalante Urrelo <diegoe@gnome.org> * src/ephy-notebook.c: Checks that if we are dragging an element of type EPHY_DND_URI_LIST_TYPE we don't reuse an already existing tab to open the first element of the list. Fixes bug #313636. svn path=/trunk/; revision=7196
* Remove NULL-check here.Christian Persch2007-07-111-2/+0
| | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * src/ephy-notebook.c: (sync_label): Remove NULL-check here. svn path=/trunk/; revision=7142
* Port to new tooltips API.Christian Persch2007-07-101-97/+67
| | | | | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * src/ephy-notebook.c: (ephy_notebook_switch_page_cb), (update_tabs_visibility), (ephy_notebook_init), (ephy_notebook_finalize), (sync_icon), (sync_label), (build_tab_label), (ephy_notebook_set_show_tabs), (ephy_notebook_remove): Port to new tooltips API. svn path=/trunk/; revision=7132
* 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
* Limit tab tooltip length. Bug #324052, patch by Diego Escalante Urrelo.Christian Persch2006-12-181-1/+7
| | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_init), (sync_label): Limit tab tooltip length. Bug #324052, patch by Diego Escalante Urrelo.
* Allow to drag plaintext to tabbar. Bug #339339, patch by Michael Hofmann.Christian Persch2006-12-181-1/+10
| | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_init), (build_tab_label): Allow to drag plaintext to tabbar. Bug #339339, patch by Michael Hofmann.
* Remove redundant gtk_button_set_relief call. Fixes bug #372760.Ryan Lortie2006-11-121-1/+0
| | | | | | | 2006-11-12 Ryan Lortie <desrt@desrt.ca> * src/ephy-notebook.c (build_tab_label): Remove redundant gtk_button_set_relief call. Fixes bug #372760.
* === Release 2.17.2 ===RELEASE_2_17_2Christian Persch2006-11-061-1/+1
| | | | | | | | | | 2006-11-06 Christian Persch <chpe@cvs.gnome.org> === Release 2.17.2 === * configure.ac: * data/default-prefs-common.js: * src/ephy-notebook.c: (build_tab_label):
* Use UTF-8 copyright symbolChristian Persch2006-09-131-3/+3
|
* Remove some unnecessary static data.Christian Persch2006-09-071-2/+2
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Expose notebook->priv->focused_pages to extensions. Fix bug #350187.Jean-François Rameau2006-08-081-0/+8
| | | | | | | | | | | 2006-08-08 Jean-François Rameau <jframeau@cvs.gnome.org> * src/epiphany.defs: * src/ephy-notebook.h: * src/ephy-notebook.c: * src/epiphany.override: Expose notebook->priv->focused_pages to extensions. Fix bug #350187.
* And revert it since it causes a gtk warning.Christian Persch2006-05-111-13/+1
| | | | | | | | 2006-05-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: And revert it since it causes a gtk warning.
* Allow text drags to notebook tab labels. Bug #339339, patch by MichaelChristian Persch2006-05-111-1/+13
| | | | | | | | | | 2006-05-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_init), (build_tab_label): Allow text drags to notebook tab labels. Bug #339339, patch by Michael Hofmann.
* Use g_object_ref_sink().Christian Persch2006-03-291-2/+1
| | | | | | | | | | | | | | 2006-03-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-statusbar.c: (ephy_statusbar_init): Use g_object_ref_sink().
* Port notebook DND to gtk+ 2.9.Christian Persch2006-03-241-535/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-23 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/ui/epiphany-ui.xml: * src/ephy-lockdown.c: (update_window): * src/ephy-notebook.c: (ephy_notebook_class_init), (button_press_cb), (ephy_notebook_init), (tab_label_weak_notify_cb), (build_tab_label): * src/ephy-notebook.h: * src/ephy-session.c: (notebook_page_added_cb), (notebook_page_removed_cb), (notebook_page_reordered_cb), (impl_attach_window): * src/ephy-tabs-menu.c: (notebook_page_added_cb), (notebook_page_removed_cb), (notebook_page_reordered_cb), (ephy_tabs_menu_set_window): * src/ephy-window.c: (update_tabs_menu_sensitivity), (idle_tab_remove_cb), (notebook_page_added_cb), (notebook_page_removed_cb), (notebook_page_reordered_cb), (notebook_page_close_request_cb), (setup_notebook), (ephy_window_remove_tab), (notebook_switch_page_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right): Port notebook DND to gtk+ 2.9.
* changed ephy_tab_get_title_composite to ephy_tab_get_title, so that nowthetroublemaker2006-01-081-1/+5
| | | | | | | | | | 2006-01-05 thetroublemaker <thetroublemaker@inventati.org> * src/ephy-notebook.c: changed ephy_tab_get_title_composite to ephy_tab_get_title, so that now 'Loading ' is not displayed when loadin' a new tab. Bug #323468.
* R data/art/epiphany-close-tab.png:Christian Persch2006-01-041-7/+9
| | | | | | | | | | | | 2006-01-04 Christian Persch <chpe@cvs.gnome.org> R data/art/epiphany-close-tab.png: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-notebook.c: (build_tab_label): Go back to using the gtk stock close icon, to get correct themeing in a11y themes.
* Mark strings in param specs as static.Christian Persch2005-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* Add another mime type.Christian Persch2005-10-231-1/+1
| | | | | | | | | | | | 2005-10-22 Christian Persch <chpe@cvs.gnome.org> * data/mime-types-permissions.xml: Add another mime type. * src/ephy-notebook.c: Remove the accidental commit from the H18 patch.
* H18 patch, by Peter Harvey <pah06@uow.edu.au>.Peter Harvey2005-10-171-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction toChristian Persch2005-10-031-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_finalize), (ephy_embed_shell_class_init): * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_show_page_certificate), (ephy_embed_close): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-python.c: (ephy_python_init), (ephy_python_shutdown), (ephy_python_schedule_gc): * src/ephy-shell.c: (ephy_shell_class_init), (gnome_session_init), (ephy_shell_dispose), (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-window.c: (construct_confirm_close_dialog), (confirm_close_with_modified_forms), (embed_modal_alert_cb), (idle_tab_remove_cb), (schedule_tab_close), (embed_close_request_cb), (embed_destroy_browser_cb), (tab_added_cb), (tab_removed_cb), (tab_close_request_cb), (setup_notebook), (remove_true), (ephy_window_dispose), (cancel_handler), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (event_with_shift), (window_cmd_view_reload), (window_cmd_file_close_window): Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction to an idle handler, to avoid crashes when tabs are closed from signal handlers (blur, mousedown, keydown etc). Fixes bug #172878, bug #172879, bug #172882, bug #303254, bug #313425.
* Add a function to get the tab's real title, and use it where appropriate.Christian Persch2005-09-281-1/+1
| | | | | | | | | | | | | | | | 2005-09-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (sync_label): * src/ephy-tab.c: (ephy_tab_get_title_composite), (ephy_tab_get_title): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (sync_tab_title): * src/ephy-window.c: (sync_tab_title): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page): Add a function to get the tab's real title, and use it where appropriate. Fixes bug #317418.
* Use the tab label's outer hbox for the size calculation instead of theChristian Persch2005-09-271-7/+7
| | | | | | | | | | | 2005-09-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (tab_label_style_set_cb), (build_tab_label): Use the tab label's outer hbox for the size calculation instead of the label itself. Fixes size oscillations with the Tab States extension.
* Update credits.Christian Persch2005-08-281-1/+1
| | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Update credits.
* Fix pointer grab lockup when gecko pops up a dialogue.Christian Persch2005-08-281-87/+210
| | | | | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (drag_stop), (grab_broken_event_cb), (grab_notify_cb), (toplevel_motion_notify_cb), (toplevel_button_release_cb), (drag_start), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (button_press_cb): Fix pointer grab lockup when gecko pops up a dialogue.
* Add a ::icon property to EphyTab, and use that everywhere instead ofChristian Persch2005-08-011-24/+7
| | | | | | | | | | | | | | | | | | | | | | 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.
* Fix URL dragging to other tabs.Christian Persch2005-07-161-1/+1
| | | | | | | | 2005-07-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Fix URL dragging to other tabs.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Work around mozilla bugChristian Persch2005-05-311-0/+9
| | | | | | | | | | | | 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.
* More constification.Christian Persch2005-04-191-4/+3
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock): * lib/egg/egg-toolbar-editor.c: (editor_create_item), (update_editor_sheet): * lib/ephy-file-helpers.c: (ephy_file): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-main.c: * src/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_add_tab): * src/ppview-toolbar.c: * src/window-commands.c: (window_cmd_help_about): More constification.
* Rework popup windows. Introduce "is-popup" property on EphyWindow toChristian Persch2005-04-181-7/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Set the tab label to single-line mode. Fixes bug #167657.Christian Persch2005-03-151-0/+1
| | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Set the tab label to single-line mode. Fixes bug #167657.
* Use event time when grabbing the pointer. Appears to fix bug #167473.Christian Persch2005-02-201-14/+15
| | | | | | | | | 2005-02-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (drag_start), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb): Use event time when grabbing the pointer. Appears to fix bug #167473.
* Ungrab the pointer when moving tab between notebooks. Fixes bug #165797.Christian Persch2005-02-011-4/+14
| | | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_finalize): Ungrab the pointer when moving tab between notebooks. Fixes bug #165797.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h:Christian Persch2005-01-101-3/+0
| | | | | | | | | | | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-notebook.c: (tab_label_style_set_cb): * src/ephy-shell.c: (ephy_shell_finalize), (toolbar_style_notifier), (ephy_shell_get_toolbars_model): A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h: * src/window-commands.c: (window_cmd_edit_toolbar): Move toolbar editor dialogue into its own class, and implement a toolbar style override there. Fixes bug #102520.
* Prefix structs with _.Christian Persch2005-01-091-1/+1
| | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: * src/ephy-notebook.h: * src/ephy-session.c: * src/ephy-session.h: * src/ephy-statusbar.c: * src/ephy-statusbar.h: * src/ephy-toolbars-model.c: * src/ephy-toolbars-model.h: Prefix structs with _.
* Add context menu on notebook. Fixes bug #132989.Christian Persch2005-01-061-0/+15
| | | | | | | | | | | | 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.
* Better fix for bug #119461, just use gtk_button_set_focus_on_click().Christian Persch2005-01-051-11/+2
| | | | | | | | | | 2005-01-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (close_button_clicked_cb), (build_tab_label): Better fix for bug #119461, just use gtk_button_set_focus_on_click(). Thanks to tko for pointing this out to me.
* Grab focus on the active tab before removing a tab. Fixes bug #119461.Christian Persch2005-01-021-0/+12
| | | | | | | | | | 2005-01-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (close_button_clicked_cb), (build_tab_label): * src/ephy-tab.c: (ephy_tab_grab_focus), (ephy_tab_class_init): Grab focus on the active tab before removing a tab. Fixes bug #119461.
* Use approximate_digit_width, and use a smaller number of chars. From bugChristian Persch2005-01-011-2/+2
| | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (tab_label_style_set_cb): Use approximate_digit_width, and use a smaller number of chars. From bug #153725.
* Remove obsolete ephy_window_load_in_tabs() and use generic link openingChristian Persch2004-12-241-18/+35
| | | | | | | | | | | | | 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.
* Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessaryChristian Persch2004-12-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (elide_underscores), (add_encoding): * embed/mozilla/FilePicker.cpp: * lib/ephy-dnd.c: * lib/ephy-node.c: * lib/ephy-string.c: (ephy_string_blank_chr): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: * src/ephy-encoding-menu.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-statusbar.c: * src/ephy-tab.c: (ephy_tab_set_title): * src/ephy-tabs-menu.c: (connect_proxy_cb): * src/ppview-toolbar.c: Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary ephy-string.h includes.
* Revert the earlier patch: don't emit tabs-reordered when the tab-addedChristian Persch2004-11-281-12/+2
| | | | | | | | | | 2004-11-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_add_tab): Revert the earlier patch: don't emit tabs-reordered when the tab-added signal handler reordered the tab, since ephy_notebook_move_tab does it already.
* If the signal handler for tab-added reordered the tabs, emit theChristian Persch2004-11-211-4/+14
| | | | | | | | | 2004-11-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_add_tab): If the signal handler for tab-added reordered the tabs, emit the tabs-reordered signal.
* Remove unused variable.Christian Persch2004-11-141-3/+1
| | | | | | | | 2004-11-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Remove unused variable.
* Don't detach the tab when releasing the mouse button while still over theChristian Persch2004-11-081-30/+14
| | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (find_notebook_at_pointer), (is_in_notebook_window): Don't detach the tab when releasing the mouse button while still over the same window. Fixes bug #143954.
* 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.
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-281-3/+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.
* Move window destruction after tab-removed signal emission. Fixes bugChristian Persch2004-10-251-12/+7
| | | | | | | | | | 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.
* Use gtk_icon_size_lookup_for_settings() here.Christian Persch2004-10-251-1/+2
| | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_images), (ephy_spinner_size_request): * src/ephy-notebook.c: (tab_label_style_set_cb): * src/window-commands.c: (window_cmd_help_about): Use gtk_icon_size_lookup_for_settings() here.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use gtk_selection_data_get_uris().Christian Persch2004-10-231-1/+1
| | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use gtk_selection_data_get_uris().
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-231-20/+21
| | | | | | | | | | | | | | | 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.
* Add tooltip on close button. Thanks to spark for the string review; fixesChristian Persch2004-10-221-0/+3
| | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Add tooltip on close button. Thanks to spark for the string review; fixes bug #155828.
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-131-10/+7
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Get the position of the new tab after the tab_added signal was emitted, toChristian Persch2004-08-271-0/+3
| | | | | | | | | | 2004-08-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_add_tab): Get the position of the new tab after the tab_added signal was emitted, to get it right in the case the signal handler reorders the tabs. Patch by Justin Wake.
* R lib/widgets/ephy-ellipsizing-label.c: RChristian Persch2004-08-081-5/+4
| | | | | | | | | | | | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * lib/widgets/Makefile.am: R lib/widgets/ephy-ellipsizing-label.c: R lib/widgets/ephy-ellipsizing-label.h: A lib/widgets/ephy-label.c: A lib/widgets/ephy-label.h: * src/ephy-notebook.c: (sync_label), (build_tab_label): * src/pdm-dialog.c: (show_cookies_properties): * src/prefs-dialog.c: (create_download_path_label), (download_path_response_cb): Kill our ellipsizing label implementation, and import GtkLabel into our prefix. * configure.in: Depend on pango 1.5.1 for ellipsisation support.
* Remove unused variable.Christian Persch2004-08-081-1/+0
| | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Remove unused variable.
* Include "ephy-string.h", fixes build with -Werror.Christian Persch2004-08-081-0/+1
| | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: Include "ephy-string.h", fixes build with -Werror.
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-061-11/+10
| | | | | | | | | | | | | | | | | | | 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.
* Support also GDK_ACTION_COPY. Fix #145254.Marco Pesenti Gritti2004-07-051-1/+1
| | | | | | | | | | | | | 2004-07-05 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Support also GDK_ACTION_COPY. Fix #145254. * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use the notebook to access the toplevel, data passed to the signal can be NULL.
* R data/art/epiphany-tab-loading.gif:Christian Persch2004-07-031-25/+22
| | | | | | | | | | | | | | | | 2004-07-02 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/epiphany-tab-loading.gif: * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), (ephy_spinner_init), (ephy_spinner_expose), (ephy_spinner_unload_images), (scale_to_real_size), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/ephy-notebook.c: (sync_load_status), (build_tab_label): * src/toolbar.c: (fixed_toolbar_reconfigured_cb), (toolbar_init): Remove our tab loading animation and use mini-spinners instead.
* Change tabs sizing again. Now we use a width of 20 (estimated) chars.Marco Pesenti Gritti2004-07-011-6/+4
| | | | | | | | | 2004-06-30 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: Change tabs sizing again. Now we use a width of 20 (estimated) chars.
* Add EphyWindow API to open multiple uris in tabs, use it for dnd on theMarco Pesenti Gritti2004-06-241-49/+11
| | | | | | | | | | | | 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.
* Make tab labels 1/n-th of the window width (n = number of tabs), with aChristian Persch2004-06-201-63/+60
| | | | | | | | | | | | 2004-06-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (sync_label), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-window.c: (ephy_window_get_tabs): Make tab labels 1/n-th of the window width (n = number of tabs), with a minimum size so they don't get too tiny. Make the tooltip cover the label + favicon, not just the label.
* Append tabs at the end instead of grouping them near the current one.Marco Pesenti Gritti2004-06-201-40/+5
| | | | | | | | | | | | | | | | | 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.
* Set data for close-button on the tab label.Christian Persch2004-06-171-0/+1
| | | | | | | | 2004-06-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Set data for close-button on the tab label.
* Emit the "tab_removed" signal also for the window's last tab. Part of bugChristian Persch2004-05-201-0/+2
| | | | | | | | | | 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.
* Remove stray semicolon. Fixes bug #138902.Christian Persch2004-04-031-1/+1
| | | | | | | | 2004-04-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Remove stray semicolon. Fixes bug #138902.
* Fix crash when dragging a link to a tab label; I forgot to change thisChristian Persch2004-03-071-5/+4
| | | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Fix crash when dragging a link to a tab label; I forgot to change this making the recent EphyTab/EphyEmbed changes.
* Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.Christian Persch2004-02-251-82/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Forgot thisChristian Persch2004-01-111-0/+2
|
* Added disable_arbitrary_url, disable_toolbar_editing, and disable_historyChristopher James Lahey2004-01-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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 API to check if an EphyEmbed has forms with user input in them.Christian Persch2004-01-041-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* New API to get the EphyTab from an EphyEmbed. Port all users.Christian Persch2004-01-021-4/+4
| | | | | | | | | | | | | | 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.
* 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.
* Remove unused types.Christian Persch2003-11-041-4/+4
| | | | | | | | | | | | | | | | | | | 2003-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator.
* Allow dragging of tabs to a window even when the tabs bar is not shown.Christian Persch2003-10-061-21/+16
| | | | | | | | | | 2003-10-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (find_notebook_at_pointer), (ephy_notebook_init), (ephy_notebook_finalize): Allow dragging of tabs to a window even when the tabs bar is not shown. Fixes bug #123908.
* Dave Bordoley <bordoley@msu.edu>Marco Pesenti Gritti2003-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | 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.
* Enable dragging the tab from a single-tab window too.Christian Persch2003-09-161-35/+22
| | | | | | | | | | | | | 2003-09-15 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (drag_start), (drag_stop), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_init): Enable dragging the tab from a single-tab window too. Correctly honour the drag threshold when starting a drag (ported from galeon, tanks go to Crispin).
* Make spinner status per tab. Remove the default to tab pref, use tab byMarco Pesenti Gritti2003-09-101-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* gtk+ now supports invisible event boxes. Remove our custom implementationChristian Persch2003-09-091-3/+13
| | | | | | | | | | | | | | 2003-09-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-event-box.c: * lib/widgets/ephy-event-box.h: * src/ephy-favicon-action.c: (create_tool_item): * src/ephy-notebook.c: (build_tab_label): * src/statusbar.c: (create_statusbar_security_icon): gtk+ now supports invisible event boxes. Remove our custom implementation and use gtk+ api instead.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-10/+12
|
* Correct insertion order of new tabs.Christian Persch2003-08-061-1/+5
| | | | | | | | | 2003-08-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nodebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_shell_new_tab): Correct insertion order of new tabs.
* Work around for a gtk issue. Do not assert if a click outside the notebookMarco Pesenti Gritti2003-08-031-2/+7
| | | | | | | | | 2003-08-02 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-notebook.c: (find_tab_num_at_pos), (button_press_cb): Work around for a gtk issue. Do not assert if a click outside the notebook is reported in button_press, just ignore.
* An input-only window event box, copied from eel's ell-input-event-box.Christian Persch2003-07-221-1/+2
| | | | | | | | | | | | | | | 2003-07-22 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-event-box.h: * lib/widgets/ephy-event-box.c: An input-only window event box, copied from eel's ell-input-event-box. * src/ephy-notebook.c: (tab_build_label): * src/ephy-favicon-action.c: (create_tool_item): Use EphyEventBox instead of GtkEventBox. Fixes transparency issue from bug #110747 .
* 2003-07-13 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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):
* Remove some unused headers.Marco Pesenti Gritti2003-06-231-118/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Ref the child before removing it, and unref it after emitting theChristian Persch2003-06-171-2/+9
| | | | | | | | | | 2003-06-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_remove_page): Ref the child before removing it, and unref it after emitting the tabs_removed signal. That way it stays alive while the signal is being processed. Fixes bug 115306.
* The Friday the 13th Mega Patch. Beware!Christian Persch2003-06-131-147/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Do not emit the TABS_CHANGED signal; the tab's egg action will itself takeChristian Persch2003-06-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make sure to rebuild on add bookmark and on topic removal. Update on idle,Marco Pesenti Gritti2003-06-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ...
* Get rid of the leftovers of the jump-to-tab pref.Christian Persch2003-06-041-5/+0
| | | | | | | | | | 2003-06-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Get rid of the leftovers of the jump-to-tab pref.
* Revert embed dnd changes. They doesnt work properly.Marco Pesenti Gritti2003-05-231-14/+0
| | | | | | | | 2003-05-22 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-notebook.c: (ephy_notebook_insert_page): Revert embed dnd changes. They doesnt work properly.
* Implement our own drag dest on the embed. Dnd of multiple urls on embedMarco Pesenti Gritti2003-05-221-0/+14
| | | | | | | | | | 2003-05-21 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-notebook.c: (child_realize_cb), (ephy_notebook_insert_page): Implement our own drag dest on the embed. Dnd of multiple urls on embed now open them in tabs.
* Cleanup new tab logic, and ever use window for new instances.Marco Pesenti Gritti2003-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2003-05-21 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_open_bookmarks_in_tabs), (ephy_bookmarks_editor_node_activated_cb): * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-history-window.c: (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_image_in_new_tab), (popup_cmd_image_in_new_window), (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_new_tab), (window_cmd_view_page_source): Cleanup new tab logic, and ever use window for new instances.
* Fixed many issues mentioned in #112781.Christian Neumair2003-05-171-1/+5
|
* Marco Pesenti Gritti <marco@it.gnome.org>David Bordoley2003-05-171-30/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Show the full page title in tooltip on the tab label. Loosely based on aChristian Persch2003-05-111-15/+25
| | | | | | | | | | | 2003-05-10 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/ephy-notebook.c: (ephy_notebook_init), (tab_get_label), (tab_build_label), (ephy_notebook_set_page_tite): Show the full page title in tooltip on the tab label. Loosely based on a patch for galeon2 by Tommi Komulainen (attached to bug 64737).
* Implement the EPHY_NEW_TAB_APPEND_AFTER flag.Christian Persch2003-05-061-0/+118
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move notebook in src/. An abstract notebook is an overkill.Marco Pesenti Gritti2003-04-291-0/+921
2003-04-28 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-notebook.c: * lib/widgets/ephy-notebook.h: * src/Makefile.am: * src/ephy-notebook.c: (ephy_notebook_get_type), * src/ephy-notebook.h: Move notebook in src/. An abstract notebook is an overkill. * src/toolbar.c: (ensure_bookmark_action): Fix compilation issue on 2.95