[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [oxygen-gtk/gtk3-1.1] src/animations: Set groupbox label state as resized before actually resizing i
From: Ruslan Kabatsayev <b7.10110111 () gmail ! com>
Date: 2012-09-30 21:51:02
Message-ID: 20120930215103.025B3A605D () git ! kde ! org
[Download RAW message or body]
Git commit 74c57cf58cd2f57edad668d7fa1f67aab44f52f7 by Ruslan Kabatsayev.
Committed on 30/09/2012 at 23:48.
Pushed by kabatsayev into branch 'gtk3-1.1'.
Set groupbox label state as resized before actually resizing it to prevent infinite \
recursion
CCBUG: 305833
M +2 -1 src/animations/oxygengroupboxlabeldata.h
http://commits.kde.org/oxygen-gtk/74c57cf58cd2f57edad668d7fa1f67aab44f52f7
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