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

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

Git commit 07d0b391fc6a89c89236a9796d529e6590eb8698 by Ruslan Kabatsayev.
Committed on 30/09/2012 at 23:48.
Pushed by kabatsayev into branch '1.3'.

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/07d0b391fc6a89c89236a9796d529e6590eb8698

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