summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_bar_gtk.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 20:20:21 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 20:20:21 +0000
commit7822e018e5ebabeeb3e8ff46aa67a52b1b1c1cf8 (patch)
tree7cad8b6a7c7601cea294dd90a7f6a7d63a84fee7 /chrome/browser/gtk/bookmark_bar_gtk.cc
parent7e54bba4f0e3bb17d205b551ab6799020fc9c110 (diff)
downloadchromium_src-7822e018e5ebabeeb3e8ff46aa67a52b1b1c1cf8.zip
chromium_src-7822e018e5ebabeeb3e8ff46aa67a52b1b1c1cf8.tar.gz
chromium_src-7822e018e5ebabeeb3e8ff46aa67a52b1b1c1cf8.tar.bz2
Linux: more bookmark manager stuff.
Display stuff in the right pane. Also fix a bug I introduced in the last patch. Review URL: http://codereview.chromium.org/118178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_bar_gtk.cc')
-rw-r--r--chrome/browser/gtk/bookmark_bar_gtk.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc
index 4a9e904..354d55d 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.cc
+++ b/chrome/browser/gtk/bookmark_bar_gtk.cc
@@ -409,12 +409,12 @@ void BookmarkBarGtk::ConfigureButtonForNode(BookmarkNode* node,
gtk_image_new_from_pixbuf(pixbuf));
g_object_unref(pixbuf);
} else {
- gtk_button_set_image(GTK_BUTTON(button),
- gtk_image_new_from_pixbuf(bookmark_utils::GetFolderIcon()));
- }
- } else {
gtk_button_set_image(GTK_BUTTON(button),
gtk_image_new_from_pixbuf(bookmark_utils::GetDefaultFavicon()));
+ }
+ } else {
+ gtk_button_set_image(GTK_BUTTON(button),
+ gtk_image_new_from_pixbuf(bookmark_utils::GetFolderIcon()));
}
SetButtonTextColors(button);