summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 00:02:38 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 00:02:38 +0000
commitfd606e003e44602b37ff4039dde367ee28417f15 (patch)
tree98887075862c6fe089dfae91e25a6f11d4afe364 /chrome/browser/ui
parentd1842041c636a1cb5d6abef05b9aee658eda28d4 (diff)
downloadchromium_src-fd606e003e44602b37ff4039dde367ee28417f15.zip
chromium_src-fd606e003e44602b37ff4039dde367ee28417f15.tar.gz
chromium_src-fd606e003e44602b37ff4039dde367ee28417f15.tar.bz2
GTK: Update the visibility of the other bookmarks button whenever we reshow the bar.
BUG=89541 TEST=none Review URL: http://codereview.chromium.org/7399029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r--chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
index fe2014c..67607a8 100644
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
@@ -431,6 +431,9 @@ void BookmarkBarGtk::Show(BookmarkBar::State old_state,
AnimationProgressed(&slide_animation_);
}
+ if (model_ && model_->IsLoaded())
+ UpdateOtherBookmarksVisibility();
+
// Hide out behind the findbar. This is rather fragile code, it could
// probably be improved.
if (bookmark_bar_state_ == BookmarkBar::DETACHED) {