diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-14 19:05:23 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-14 19:05:23 +0800 |
commit | a01ebeee69c4781df8b34f2928843417f58d2a15 (patch) | |
tree | e5c9a00743025f934909c233691a019e59521d43 /embed | |
parent | 2ccb8c916575d21e2862cc38f98f92ef0f1d7b27 (diff) | |
download | gsoc2013-epiphany-a01ebeee69c4781df8b34f2928843417f58d2a15.tar.gz gsoc2013-epiphany-a01ebeee69c4781df8b34f2928843417f58d2a15.tar.zst gsoc2013-epiphany-a01ebeee69c4781df8b34f2928843417f58d2a15.zip |
Respect the bookmarks bar visibility user choice also for popups.
2003-06-14 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-embed-types.h:
* embed/mozilla/mozilla-embed.cpp:
* src/ephy-window.c: (translate_default_chrome),
(ephy_window_set_chrome):
Respect the bookmarks bar visibility user choice also
for popups.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed-types.h | 19 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 2 |
2 files changed, 11 insertions, 10 deletions
diff --git a/embed/ephy-embed-types.h b/embed/ephy-embed-types.h index d56cec05e..0e89b0c91 100644 --- a/embed/ephy-embed-types.h +++ b/embed/ephy-embed-types.h @@ -30,15 +30,16 @@ typedef enum EMBED_CHROME_MENUBARON = 1 << 1, EMBED_CHROME_TOOLBARON = 1 << 2, EMBED_CHROME_BOOKMARKSBARON = 1 << 3, - EMBED_CHROME_STATUSBARON = 1 << 4, - EMBED_CHROME_WINDOWRAISED = 1 << 5, - EMBED_CHROME_WINDOWLOWERED = 1 << 6, - EMBED_CHROME_CENTERSCREEN = 1 << 7, - EMBED_CHROME_OPENASDIALOG = 1 << 8, - EMBED_CHROME_OPENASCHROME = 1 << 9, - EMBED_CHROME_OPENASPOPUP = 1 << 10, - EMBED_CHROME_OPENASFULLSCREEN = 1 << 11, - EMBED_CHROME_PPVIEWTOOLBARON = 1 << 12, + EMBED_CHROME_BOOKMARKSBAR_DEFAULT = 1 << 4, + EMBED_CHROME_STATUSBARON = 1 << 5, + EMBED_CHROME_WINDOWRAISED = 1 << 6, + EMBED_CHROME_WINDOWLOWERED = 1 << 7, + EMBED_CHROME_CENTERSCREEN = 1 << 8, + EMBED_CHROME_OPENASDIALOG = 1 << 9, + EMBED_CHROME_OPENASCHROME = 1 << 10, + EMBED_CHROME_OPENASPOPUP = 1 << 11, + EMBED_CHROME_OPENASFULLSCREEN = 1 << 12, + EMBED_CHROME_PPVIEWTOOLBARON = 1 << 13 } EmbedChromeMask; G_END_DECLS diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index ab40ccee3..b4c04fa65 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -1402,7 +1402,7 @@ mozilla_embed_new_window_cb (GtkMozEmbed *embed, { GTK_MOZ_EMBED_FLAG_DEFAULTCHROME, EMBED_CHROME_DEFAULT }, { GTK_MOZ_EMBED_FLAG_MENUBARON, EMBED_CHROME_MENUBARON }, { GTK_MOZ_EMBED_FLAG_TOOLBARON, EMBED_CHROME_TOOLBARON }, - { GTK_MOZ_EMBED_FLAG_PERSONALTOOLBARON, EMBED_CHROME_BOOKMARKSBARON }, + { GTK_MOZ_EMBED_FLAG_PERSONALTOOLBARON, EMBED_CHROME_BOOKMARKSBAR_DEFAULT }, { GTK_MOZ_EMBED_FLAG_STATUSBARON, EMBED_CHROME_STATUSBARON }, { GTK_MOZ_EMBED_FLAG_WINDOWRAISED, EMBED_CHROME_WINDOWRAISED }, { GTK_MOZ_EMBED_FLAG_WINDOWLOWERED, EMBED_CHROME_WINDOWLOWERED }, |