From d2d4eb9d01b2d52fc7a295cc8a238bcf66dce332 Mon Sep 17 00:00:00 2001 From: "zork@chromium.org" Date: Wed, 22 Dec 2010 05:40:00 +0000 Subject: Notify the root widget the the Theme changes when FrameTypeChanged() is evoked BUG=chromium-os:9922 TEST=Change the theme. Check that the buttons are the right color. Review URL: http://codereview.chromium.org/5861002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69934 0039d316-1c4b-4281-b951-d872f2087c98 --- views/window/window_gtk.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/window') diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc index 4f8a251..adc714c 100644 --- a/views/window/window_gtk.cc +++ b/views/window/window_gtk.cc @@ -253,9 +253,9 @@ bool WindowGtk::ShouldUseNativeFrame() const { } void WindowGtk::FrameTypeChanged() { - // We currently don't support different frame types on Gtk, so we don't - // need to implement this. - NOTIMPLEMENTED(); + // This is called when the Theme has changed, so forward the event to the root + // widget. + GetRootView()->NotifyThemeChanged(); } //////////////////////////////////////////////////////////////////////////////// -- cgit v1.1