summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 20:28:32 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 20:28:32 +0000
commit72f78a720a9c06d1e588ddda321fa04327c59eac (patch)
tree00511c11b5593f57cb9a66be5377970ac1411b16
parentd42d02c4a7ea5fd8781af7a67d9ac186d0ee0db5 (diff)
downloadchromium_src-72f78a720a9c06d1e588ddda321fa04327c59eac.zip
chromium_src-72f78a720a9c06d1e588ddda321fa04327c59eac.tar.gz
chromium_src-72f78a720a9c06d1e588ddda321fa04327c59eac.tar.bz2
gtk: Fix theme loading bubble position.
BUG=29539 TEST=tried it Review URL: http://codereview.chromium.org/464058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34077 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/gtk/theme_install_bubble_view_gtk.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/theme_install_bubble_view_gtk.cc b/chrome/browser/gtk/theme_install_bubble_view_gtk.cc
index b882f24..7586f07 100644
--- a/chrome/browser/gtk/theme_install_bubble_view_gtk.cc
+++ b/chrome/browser/gtk/theme_install_bubble_view_gtk.cc
@@ -97,6 +97,10 @@ void ThemeInstallBubbleViewGtk::InitWidgets() {
gtk_widget_modify_fg(label, GTK_STATE_NORMAL, &gfx::kGdkWhite);
gtk_container_add(GTK_CONTAINER(widget_), label);
+ // We need to show the label so we'll know the widget's actual size when we
+ // call MoveWindow().
+ gtk_widget_show_all(label);
+
bool composited = false;
if (gtk_util::IsScreenComposited()) {
composited = true;