diff -r eb6611be50c7 -r 7cd1b8890302 ui/motif/list.c --- a/ui/motif/list.c Thu Jan 01 11:23:43 2015 +0100 +++ b/ui/motif/list.c Thu Jan 01 14:13:37 2015 +0100 @@ -58,8 +58,9 @@ n++; UiContainer *ct = uic_get_current_container(obj); - Widget parent = ct->add(ct, args, &n); - Widget widget= XmCreateScrolledList(parent, "listview", args, n); + Widget parent = ct->prepare(ct, args, &n, TRUE); + Widget widget = XmCreateScrolledList(parent, "listview", args, n); + ct->add(ct, widget); XtManageChild(widget); UiListView *listview = ucx_mempool_malloc(obj->ctx->mempool, sizeof(UiListView));