comparison 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
comparison
equal deleted inserted replaced
14009:1e283c3566ab 14010:7573bd40a190
428 else 428 else
429 wchange = 0; 429 wchange = 0;
430 430
431 for (i = box->list; i; i = i->next) 431 for (i = box->list; i; i = i->next)
432 { 432 {
433 gnt_widget_get_size(GNT_WIDGET(i->data), &tw, &th); 433 if (wid != i->data)
434 gnt_widget_set_size(i->data, tw + wchange, th + hchange); 434 {
435 gnt_widget_get_size(GNT_WIDGET(i->data), &tw, &th);
436 gnt_widget_set_size(i->data, tw + wchange, th + hchange);
437 }
435 } 438 }
436 439
437 reposition_children(widget); 440 reposition_children(widget);
438 } 441 }
439 442