summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 14:56:31 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 14:56:31 +0000
commite7e50227f66d9b55f2011ad8ec355d7c3c70867a (patch)
tree9a9f70d4f43e709f45ae8c50a06732ffb7fa8e53 /views
parent4e7ca8180fd5bc9854d6c030960391dd985266b0 (diff)
downloadchromium_src-e7e50227f66d9b55f2011ad8ec355d7c3c70867a.zip
chromium_src-e7e50227f66d9b55f2011ad8ec355d7c3c70867a.tar.gz
chromium_src-e7e50227f66d9b55f2011ad8ec355d7c3c70867a.tar.bz2
Gets rid of the annoying white dot in the upper left corner of all
chromeos windows. This white dot was a gtkfixed that should not have been visible. It was being made visible by the show_all in WindowGtk. There may be some regressions from this change, but we should individually be doing show/show_all for hierarchies rather than in window. BUG=none TEST=none Review URL: http://codereview.chromium.org/1730008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/native/native_view_host_gtk.cc1
-rw-r--r--views/window/window_gtk.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/native/native_view_host_gtk.cc b/views/controls/native/native_view_host_gtk.cc
index 36aa82b..79a144d 100644
--- a/views/controls/native/native_view_host_gtk.cc
+++ b/views/controls/native/native_view_host_gtk.cc
@@ -273,6 +273,7 @@ void NativeViewHostGtk::CreateFixed(bool needs_window) {
DestroyFixed();
fixed_ = gtk_fixed_new();
+ gtk_widget_set_name(fixed_, "views-native-view-host-fixed");
gtk_fixed_set_has_window(GTK_FIXED(fixed_), needs_window);
// Defeat refcounting. We need to own the fixed.
gtk_widget_ref(fixed_);
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc
index 4b0a682..d0ba7bc 100644
--- a/views/window/window_gtk.cc
+++ b/views/window/window_gtk.cc
@@ -120,7 +120,7 @@ void WindowGtk::SetBounds(const gfx::Rect& bounds,
}
void WindowGtk::Show() {
- gtk_widget_show_all(GetNativeView());
+ gtk_widget_show(GetNativeView());
}
void WindowGtk::HideWindow() {