diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-04-07 15:52:00 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-06-15 07:32:09 +0800 |
commit | b33364807ef23cdca508ce2f430cd6f59203d3dc (patch) | |
tree | 9f6659a15755c4003468ad4dec2d91a1fc15c68f | |
parent | 27a4bdbc192302b7424d4400ceecc1f1a0cca432 (diff) | |
download | gsoc2013-epiphany-b33364807ef23cdca508ce2f430cd6f59203d3dc.tar gsoc2013-epiphany-b33364807ef23cdca508ce2f430cd6f59203d3dc.tar.gz gsoc2013-epiphany-b33364807ef23cdca508ce2f430cd6f59203d3dc.tar.bz2 gsoc2013-epiphany-b33364807ef23cdca508ce2f430cd6f59203d3dc.tar.lz gsoc2013-epiphany-b33364807ef23cdca508ce2f430cd6f59203d3dc.tar.xz gsoc2013-epiphany-b33364807ef23cdca508ce2f430cd6f59203d3dc.tar.zst gsoc2013-epiphany-b33364807ef23cdca508ce2f430cd6f59203d3dc.zip |
ephy-shell: document EphyNewTabFlags
https://bugzilla.gnome.org/show_bug.cgi?id=673683
-rw-r--r-- | src/ephy-shell.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ephy-shell.h b/src/ephy-shell.h index 58cdb823a..513605bb1 100644 --- a/src/ephy-shell.h +++ b/src/ephy-shell.h @@ -51,6 +51,31 @@ typedef struct _EphyShellPrivate EphyShellPrivate; extern EphyShell *ephy_shell; +/** + * EphyNewTabFlags: + * @EPHY_NEW_TAB_HOME_PAGE: loads the home page in the new tab. + * @EPHY_NEW_TAB_NEW_PAGE: legacy synonym for @EPHY_NEW_TAB_HOME_PAGE. + * @EPHY_NEW_TAB_OPEN_PAGE: opens the provided network-request. + * @EPHY_NEW_TAB_FULLSCREEN_MODE: calls gtk_window_fullscreen on the + * parent window of the new tab. + * @EPHY_NEW_TAB_DONT_SHOW_WINDOW: do not show the window where the new + * tab is attached. + * @EPHY_NEW_TAB_APPEND_LAST: appends the new tab at the end of the + * notebook. + * @EPHY_NEW_TAB_APPEND_AFTER: appends the new tab right after the + * current one in the notebook. + * @EPHY_NEW_TAB_JUMP: jumps to the new tab immediately. + * @EPHY_NEW_TAB_IN_NEW_WINDOW: creates the new tab in a new window. + * @EPHY_NEW_TAB_IN_EXISTING_WINDOW: creates the new tab in the current + * active window, if there is none, creates a window. + * @EPHY_NEW_TAB_FROM_EXTERNAL: tries to open the new tab in the current + * active tab if it is currently not loading anything and is + * blank. + * @EPHY_NEW_TAB_DONT_COPY_HISTORY: do not copy the back-forward history + * from the current active tab to the new one. + * + * Controls how new tabs/windows are created and handled. + */ typedef enum { /* Page types */ EPHY_NEW_TAB_HOME_PAGE = 1 << 0, @@ -65,6 +90,8 @@ typedef enum { EPHY_NEW_TAB_APPEND_LAST = 1 << 7, EPHY_NEW_TAB_APPEND_AFTER = 1 << 8, EPHY_NEW_TAB_JUMP = 1 << 9, + + /* Where */ EPHY_NEW_TAB_IN_NEW_WINDOW = 1 << 10, EPHY_NEW_TAB_IN_EXISTING_WINDOW = 1 << 11, |