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

List:       kde-commits
Subject:    [oxygen-gtk] src/animations: Set groupbox label state as resized before actually resizing it to prev
From:       Ruslan Kabatsayev <b7.10110111 () gmail ! com>
Date:       2012-09-30 21:56:59
Message-ID: 20120930215659.1BDE6A605D () git ! kde ! org
[Download RAW message or body]

Git commit 10493def8545b259cc4342c208934295b6e5bd09 by Ruslan Kabatsayev.
Committed on 30/09/2012 at 23:48.
Pushed by kabatsayev into branch 'master'.

Set groupbox label state as resized before actually resizing it to prevent infinite \
recursion

M  +2    -1    src/animations/oxygengroupboxlabeldata.h

http://commits.kde.org/oxygen-gtk/10493def8545b259cc4342c208934295b6e5bd09

diff --git a/src/animations/oxygengroupboxlabeldata.h \
b/src/animations/oxygengroupboxlabeldata.h index 21c7d36..a34e165 100644
--- a/src/animations/oxygengroupboxlabeldata.h
+++ b/src/animations/oxygengroupboxlabeldata.h
@@ -57,8 +57,9 @@ namespace Oxygen
             if( allocation.height > 1 )
             {
 
-                gtk_widget_set_size_request( widget, allocation.width, \
allocation.height+14 ); +                // Save resized state before actually \
resizing to prevent infinite recursion (bug 305833)  _resized = true;
+                gtk_widget_set_size_request( widget, allocation.width, \
allocation.height+14 );  
             }
         }


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

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