Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5031)

Unified Diff: chrome/browser/gtk/page_info_window_gtk.cc

Issue 3245012: Show Page Info InfoBubble on the right side for RTL languages and make sure W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gtk/page_info_window_gtk.cc
===================================================================
--- chrome/browser/gtk/page_info_window_gtk.cc (revision 57972)
+++ chrome/browser/gtk/page_info_window_gtk.cc (working copy)
@@ -150,7 +150,7 @@
GtkWidget* section_box = gtk_hbox_new(FALSE, 0);
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
GtkWidget* image = gtk_image_new_from_pixbuf(
- section.state != PageInfoModel::SECTION_STATE_ERROR ?
+ section.state == PageInfoModel::SECTION_STATE_OK ?
rb.GetPixbufNamed(IDR_PAGEINFO_GOOD) :
rb.GetPixbufNamed(IDR_PAGEINFO_BAD));
gtk_box_pack_start(GTK_BOX(section_box), image, FALSE, FALSE,

Powered by Google App Engine
This is Rietveld 408576698