Mercurial > pidgin
diff console/libgnt/gntbox.c @ 14010:7573bd40a190
[gaim-migrate @ 16602]
Allow plugins to be loaded and unloaded.
Remember the window positions and sizes.
All turning on/off shadow from ~/.gntrc (off by default).
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 31 Jul 2006 23:19:12 +0000 |
parents | c9509bd42d7a |
children | 27182f83b79b |
line wrap: on
line diff
--- a/console/libgnt/gntbox.c Sat Jul 29 20:22:39 2006 +0000 +++ b/console/libgnt/gntbox.c Mon Jul 31 23:19:12 2006 +0000 @@ -430,8 +430,11 @@ for (i = box->list; i; i = i->next) { - gnt_widget_get_size(GNT_WIDGET(i->data), &tw, &th); - gnt_widget_set_size(i->data, tw + wchange, th + hchange); + if (wid != i->data) + { + gnt_widget_get_size(GNT_WIDGET(i->data), &tw, &th); + gnt_widget_set_size(i->data, tw + wchange, th + hchange); + } } reposition_children(widget);