diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 23:04:23 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 23:04:23 +0000 |
commit | 60627a1fc425b47fd658440a9fad776237a87ec1 (patch) | |
tree | ed0b5fc3e9da3fc8b65b3036375665c6f6a2c384 /chrome/browser/gtk/menu_gtk.cc | |
parent | 589df05308e0d8a014ae4f0501d63c38f1144c6f (diff) | |
download | chromium_src-60627a1fc425b47fd658440a9fad776237a87ec1.zip chromium_src-60627a1fc425b47fd658440a9fad776237a87ec1.tar.gz chromium_src-60627a1fc425b47fd658440a9fad776237a87ec1.tar.bz2 |
GTK: Set the back/forward and bookmark bar menus to always show their images.
This only works for GTK 2.16+.
BUG=21495
Review URL: http://codereview.chromium.org/199099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/menu_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/menu_gtk.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/menu_gtk.cc b/chrome/browser/gtk/menu_gtk.cc index 8cfe7f8..f63f23b 100644 --- a/chrome/browser/gtk/menu_gtk.cc +++ b/chrome/browser/gtk/menu_gtk.cc @@ -210,6 +210,8 @@ GtkWidget* MenuGtk::BuildMenuItemWithImage(const std::string& label, gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menu_item), gtk_image_new_from_pixbuf(pixbuf)); g_object_unref(pixbuf); + if (delegate_->AlwaysShowImages()) + gtk_util::SetAlwaysShowImage(menu_item); return menu_item; } |