aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-21 19:15:52 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-21 19:15:52 +0800
commit8c7107742c5058841b22e52535a5ab316e44ad6e (patch)
tree22bd63369a6fda486d4da3bf9c52e7b3e048ad75 /src/popup-commands.c
parent811b8c4ba8f54cfa747db421adc07a35b0b30d43 (diff)
downloadgsoc2013-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/popup-commands.c')
-rw-r--r--src/popup-commands.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 3b5c76f1a..de002689f 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -58,6 +58,7 @@ popup_cmd_link_in_new_window (EggAction *action,
ephy_shell_new_tab (ephy_shell, NULL, tab,
g_value_get_string (value),
+ EPHY_NEW_TAB_OPEN_PAGE |
EPHY_NEW_TAB_IN_NEW_WINDOW);
}
@@ -77,6 +78,7 @@ popup_cmd_link_in_new_tab (EggAction *action,
ephy_shell_new_tab (ephy_shell, window, tab,
g_value_get_string (value),
+ EPHY_NEW_TAB_OPEN_PAGE |
EPHY_NEW_TAB_IN_EXISTING_WINDOW);
}
@@ -96,6 +98,7 @@ popup_cmd_image_in_new_tab (EggAction *action,
ephy_shell_new_tab (ephy_shell, window, tab,
g_value_get_string (value),
+ EPHY_NEW_TAB_OPEN_PAGE |
EPHY_NEW_TAB_IN_EXISTING_WINDOW);
}
@@ -115,6 +118,7 @@ popup_cmd_image_in_new_window (EggAction *action,
ephy_shell_new_tab (ephy_shell, NULL, tab,
g_value_get_string (value),
+ EPHY_NEW_TAB_OPEN_PAGE |
EPHY_NEW_TAB_IN_NEW_WINDOW);
}
@@ -185,6 +189,7 @@ popup_cmd_frame_in_new_tab (EggAction *action,
ephy_shell_new_tab (ephy_shell, window, tab,
location,
+ EPHY_NEW_TAB_OPEN_PAGE |
EPHY_NEW_TAB_IN_EXISTING_WINDOW);
g_free (location);
@@ -206,6 +211,7 @@ popup_cmd_frame_in_new_window (EggAction *action,
ephy_shell_new_tab (ephy_shell, NULL, tab,
location,
+ EPHY_NEW_TAB_OPEN_PAGE |
EPHY_NEW_TAB_IN_NEW_WINDOW);
g_free (location);