summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index 3c41e44..c962fbb 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -1033,7 +1033,7 @@ void BrowserWindowGtk::MaybeShowBookmarkBar(TabContents* contents,
show_bar = true;
}
- if (show_bar) {
+ if (show_bar && !contents->IsBookmarkBarAlwaysVisible()) {
PrefService* prefs = contents->profile()->GetPrefs();
show_bar = prefs->GetBoolean(prefs::kShowBookmarkBar);
}