aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-04-18 18:35:44 +0800
committerChristian Persch <chpe@src.gnome.org>2004-04-18 18:35:44 +0800
commit253cdd5d4d4969687f0c739cc751fa9a96c42600 (patch)
tree752d5711617ce980cefd5532fd996a18e954cc80 /embed/ephy-embed.h
parent4d702bd73bf61dd1b8df432da802adcc3785fd0a (diff)
downloadgsoc2013-epiphany-253cdd5d4d4969687f0c739cc751fa9a96c42600.tar.gz
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.h14
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,