summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/infobar_gtk.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 16:44:11 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 16:44:11 +0000
commit2d933813ff07d6747177585a9f62a462d8265474 (patch)
treec14278817b6d4aad2a36cbf9d8460b1167242169 /chrome/browser/gtk/infobar_gtk.cc
parent426daf1af6c21115dcf338e1b845ca7f6f4d316b (diff)
downloadchromium_src-2d933813ff07d6747177585a9f62a462d8265474.zip
chromium_src-2d933813ff07d6747177585a9f62a462d8265474.tar.gz
chromium_src-2d933813ff07d6747177585a9f62a462d8265474.tar.bz2
GTK Themes: Use the GTK close button in the download shelf and popup notification.
Review URL: http://codereview.chromium.org/155939 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/infobar_gtk.cc')
-rw-r--r--chrome/browser/gtk/infobar_gtk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/gtk/infobar_gtk.cc b/chrome/browser/gtk/infobar_gtk.cc
index c97f65b..06c549c 100644
--- a/chrome/browser/gtk/infobar_gtk.cc
+++ b/chrome/browser/gtk/infobar_gtk.cc
@@ -92,7 +92,8 @@ InfoBar::InfoBar(InfoBarDelegate* delegate)
gtk_box_pack_start(GTK_BOX(hbox_), image, FALSE, FALSE, 0);
}
- close_button_.reset(CustomDrawButton::CloseButton());
+ // TODO(erg): GTK theme the info bar.
+ close_button_.reset(CustomDrawButton::CloseButton(NULL));
gtk_util::CenterWidgetInHBox(hbox_, close_button_->widget(), true, 0);
g_signal_connect(close_button_->widget(), "clicked",
G_CALLBACK(OnCloseButton), this);