[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Boxygen-gtk=5D_src=3A_Check_for_parent_groupboxes_wh?=
From:       Hugo Pereira Da Costa <hugo () oxygen-icons ! org>
Date:       2011-05-22 19:36:31
Message-ID: 20110522193631.5B701A60A4 () git ! kde ! org
[Download RAW message or body]

Git commit a584e63fcd2582264ecbe042956e34e0ed518202 by Hugo Pereira Da Costa.
Committed on 22/05/2011 at 21:36.
Pushed by hpereiradacosta into branch 'master'.

Check for parent groupboxes when rendering eventBox.
CCBUG: 273815

M  +4    -0    src/oxygenstylewrapper.cpp     

http://commits.kde.org/oxygen-gtk/a584e63fcd2582264ecbe042956e34e0ed518202

diff --git a/src/oxygenstylewrapper.cpp b/src/oxygenstylewrapper.cpp
index 1c8d644..dd699e4 100644
--- a/src/oxygenstylewrapper.cpp
+++ b/src/oxygenstylewrapper.cpp
@@ -195,6 +195,10 @@ namespace Oxygen
             // render background gradient
             Style::instance().renderWindowBackground( window, clipRect, x, y, w, h \
);  
+            // possible groupbox background
+            if( d.isEventBox() && Gtk::gtk_widget_find_parent( widget, \
GTK_TYPE_FRAME ) ) +            { Style::instance().renderGroupBoxBackground( window, \
widget, clipRect, x, y, w, h, Blend ); } +
             // also draw possible animated tool button
             draw_animated_button( window, clipRect, widget );
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic