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/ephy-shell.h | |
parent | 811b8c4ba8f54cfa747db421adc07a35b0b30d43 (diff) | |
download | gsoc2013-epiphany-8c7107742c5058841b22e52535a5ab316e44ad6e.tar.gz 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/ephy-shell.h')
-rw-r--r-- | src/ephy-shell.h | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/src/ephy-shell.h b/src/ephy-shell.h index 08fd7658a..e45be6dd8 100644 --- a/src/ephy-shell.h +++ b/src/ephy-shell.h @@ -51,19 +51,24 @@ extern EphyShell *ephy_shell; typedef enum { - EPHY_NEW_TAB_HOMEPAGE = 1 << 0, - EPHY_NEW_TAB_FULLSCREEN = 1 << 1, - EPHY_NEW_TAB_APPEND_GROUPED = 1 << 2, - EPHY_NEW_TAB_APPEND_LAST = 1 << 3, - EPHY_NEW_TAB_JUMP = 1 << 4, - EPHY_NEW_TAB_DONT_JUMP_TO = 1 << 5, - EPHY_NEW_TAB_RAISE_WINDOW = 1 << 6, - EPHY_NEW_TAB_DONT_RAISE_WINDOW = 1 << 7, - EPHY_NEW_TAB_IN_NEW_WINDOW = 1 << 8, - EPHY_NEW_TAB_IN_EXISTING_WINDOW = 1 << 9, - EPHY_NEW_TAB_IS_A_COPY = 1 << 10, - EPHY_NEW_TAB_VIEW_SOURCE = 1 << 11, - EPHY_NEW_TAB_APPEND_AFTER = 1 << 12 + /* Page types */ + EPHY_NEW_TAB_HOME_PAGE = 1 << 0, + EPHY_NEW_TAB_NEW_PAGE = 1 << 1, + EPHY_NEW_TAB_OPEN_PAGE = 1 << 2, + EPHY_NEW_TAB_CLONE_PAGE = 1 << 3, + + /* Page mode */ + EPHY_NEW_TAB_FULLSCREEN_MODE = 1 << 4, + EPHY_NEW_TAB_SOURCE_MODE = 1 << 5, + + /* Tabs */ + EPHY_NEW_TAB_APPEND_GROUPED = 1 << 6, + EPHY_NEW_TAB_APPEND_LAST = 1 << 7, + EPHY_NEW_TAB_APPEND_AFTER = 1 << 8, + EPHY_NEW_TAB_JUMP = 1 << 9, + EPHY_NEW_TAB_DONT_JUMP_TO = 1 << 10, + EPHY_NEW_TAB_IN_NEW_WINDOW = 1 << 11, + EPHY_NEW_TAB_IN_EXISTING_WINDOW = 1 << 12 } EphyNewTabFlags; struct EphyShell |