diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-05 20:27:50 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-05 20:27:50 +0000 |
commit | 9a1a6c88f479a002c31778603664f00b19dfeae2 (patch) | |
tree | b8a14b1ee488efa03b3fff87bedf59793db6aa11 /chrome | |
parent | 6862ac6cbec1c9a3d7e332b3e8c696c9a3d172d6 (diff) | |
download | chromium_src-9a1a6c88f479a002c31778603664f00b19dfeae2.zip chromium_src-9a1a6c88f479a002c31778603664f00b19dfeae2.tar.gz chromium_src-9a1a6c88f479a002c31778603664f00b19dfeae2.tar.bz2 |
linux: always show bookmarks bar on NTP
BUG=16825
Review URL: http://codereview.chromium.org/159897
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.cc | 2 |
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); } |