diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-04-18 18:35:44 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-04-18 18:35:44 +0800 |
commit | 253cdd5d4d4969687f0c739cc751fa9a96c42600 (patch) | |
tree | 752d5711617ce980cefd5532fd996a18e954cc80 /embed/ephy-embed.h | |
parent | 4d702bd73bf61dd1b8df432da802adcc3785fd0a (diff) | |
download | gsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.tar gsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.tar.gz gsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.tar.bz2 gsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.tar.lz gsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.tar.xz gsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.tar.zst gsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.zip |
Fix chrome for new windows opened from _blank target. Fixes bug #139512.
2004-04-18 Marco Pesenti Gritti <marco@gnome.org>
* embed/ephy-embed.c: (ephy_embed_chrome_get_type):
* embed/ephy-embed.h:
* embed/mozilla/mozilla-embed.cpp:
* src/ephy-window.c: (ephy_window_set_chrome),
(ephy_window_set_property), (ephy_window_class_init):
Fix chrome for new windows opened from _blank target.
Fixes bug #139512.
Diffstat (limited to 'embed/ephy-embed.h')
-rw-r--r-- | embed/ephy-embed.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index c2fcb2e91..809a21a56 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -59,13 +59,17 @@ typedef enum typedef enum { - EPHY_EMBED_CHROME_DEFAULT = 1 << 0, - EPHY_EMBED_CHROME_MENUBAR = 1 << 1, - EPHY_EMBED_CHROME_TOOLBAR = 1 << 2, - EPHY_EMBED_CHROME_STATUSBAR = 1 << 3, - EPHY_EMBED_CHROME_BOOKMARKSBAR = 1 << 4 + EPHY_EMBED_CHROME_MENUBAR = 1 << 0, + EPHY_EMBED_CHROME_TOOLBAR = 1 << 1, + EPHY_EMBED_CHROME_STATUSBAR = 1 << 2, + EPHY_EMBED_CHROME_BOOKMARKSBAR = 1 << 3 } EphyEmbedChrome; +#define EPHY_EMBED_CHROME_ALL (EPHY_EMBED_CHROME_MENUBAR | \ + EPHY_EMBED_CHROME_TOOLBAR | \ + EPHY_EMBED_CHROME_STATUSBAR | \ + EPHY_EMBED_CHROME_BOOKMARKSBAR) + typedef enum { EMBED_RELOAD_NORMAL = 1 << 0, |