aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
Commit message (Collapse)AuthorAgeFilesLines
* 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