diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-05-21 19:15:52 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-05-21 19:15:52 +0800 |
commit | 8c7107742c5058841b22e52535a5ab316e44ad6e (patch) | |
tree | 22bd63369a6fda486d4da3bf9c52e7b3e048ad75 /src/window-commands.c | |
parent | 811b8c4ba8f54cfa747db421adc07a35b0b30d43 (diff) | |
download | gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.tar gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.tar.gz gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.tar.bz2 gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.tar.lz gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.tar.xz gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.tar.zst gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.zip |
Cleanup new tab logic, and ever use window for new instances.
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.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 652b8c23e..9c6147043 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -224,9 +224,8 @@ window_cmd_file_new_window (EggAction *action, tab = ephy_window_get_active_tab (window); ephy_shell_new_tab (ephy_shell, NULL, tab, NULL, - EPHY_NEW_TAB_HOMEPAGE | - EPHY_NEW_TAB_IN_NEW_WINDOW | - EPHY_NEW_TAB_JUMP); + EPHY_NEW_TAB_NEW_PAGE | + EPHY_NEW_TAB_IN_NEW_WINDOW); } void @@ -238,7 +237,7 @@ window_cmd_file_new_tab (EggAction *action, tab = ephy_window_get_active_tab (window); ephy_shell_new_tab (ephy_shell, window, tab, NULL, - EPHY_NEW_TAB_HOMEPAGE | + EPHY_NEW_TAB_NEW_PAGE | EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_JUMP); } @@ -593,7 +592,8 @@ window_cmd_view_page_source (EggAction *action, g_return_if_fail (tab != NULL); ephy_shell_new_tab (ephy_shell, window, tab, NULL, - EPHY_NEW_TAB_VIEW_SOURCE); + EPHY_NEW_TAB_CLONE_PAGE | + EPHY_NEW_TAB_SOURCE_MODE); } void |