pidgin: d7d35b64: Ignore invisible widgets when resizing. ...
sadrul at pidgin.im
sadrul at pidgin.im
Tue Jun 15 15:06:00 EDT 2010
-----------------------------------------------------------------
Revision: d7d35b64d7c7663c0332d9995109dbd7b12c7f11
Ancestor: 8d0bb2830b866b018ff771a36b7bddfa4aef8f7a
Author: sadrul at pidgin.im
Date: 2010-06-15T17:11:15
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d7d35b64d7c7663c0332d9995109dbd7b12c7f11
Modified files:
finch/libgnt/gntbox.c
ChangeLog:
Ignore invisible widgets when resizing. References #12169.
-------------- next part --------------
============================================================
--- finch/libgnt/gntbox.c 6b1701f62bcb14270cfbfec19f719ed27eb5c83f
+++ finch/libgnt/gntbox.c 2bba1c2a935faf49058a2fa578214b0a606cf198
@@ -422,7 +422,9 @@ gnt_box_confirm_size(GntWidget *widget,
gnt_widget_get_size(wid, &w, &h);
- if (wid != last && !child && w > 0 && h > 0 && gnt_widget_confirm_size(wid, w - wchange, h - hchange)) {
+ if (wid != last && !child && w > 0 && h > 0 &&
+ !GNT_WIDGET_IS_FLAG_SET(wid, GNT_WIDGET_INVISIBLE) &&
+ gnt_widget_confirm_size(wid, w - wchange, h - hchange)) {
child = wid;
break;
}
More information about the Commits
mailing list