Notify the gui_vfslist that the list has been randomized. Definition at line 534 of file gui_vfslist.c. 00535 { 00536 unsigned int idx; 00537 00538 /* 00539 * After a randomization the indices do not match the 00540 * corresponding objects. We could trace the objects and update 00541 * the indices, but we might as well better keep the current 00542 * indices and update the objects. This is more convenient for 00543 * the user. 00544 */ 00545 if (gv->idx_top > 0) { 00546 /* Top position */ 00547 for (idx = 1, gv->vr_top = vfs_list_first(gv->list); 00548 idx < gv->idx_top; 00549 idx++, gv->vr_top = vfs_list_next(gv->vr_top)); 00550 /* Selection - just continue previous traversal */ 00551 for (gv->vr_selected = gv->vr_top; 00552 idx < gv->idx_selected; 00553 idx++, gv->vr_selected = vfs_list_next(gv->vr_selected)); 00554 } 00555 }
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() |
1.6.3