# HG changeset patch # User nadvornik # Date 1230889154 0 # Node ID d13233ab7defb97745a8d8c5ae3cacff914b69ac # Parent 878718372aca895209ecc5ba59a2690dd5dcbec0 fixed view_dir notification diff -r 878718372aca -r d13233ab7def src/view_dir.c --- a/src/view_dir.c Fri Jan 02 09:26:23 2009 +0000 +++ b/src/view_dir.c Fri Jan 02 09:39:14 2009 +0000 @@ -133,12 +133,16 @@ { gint ret = FALSE; + file_data_unregister_notify_func(vd_notify_cb, vd); + switch(vd->type) { case DIRVIEW_LIST: ret = vdlist_set_fd(vd, dir_fd); break; case DIRVIEW_TREE: ret = vdtree_set_fd(vd, dir_fd); break; } + file_data_register_notify_func(vd_notify_cb, vd, NOTIFY_PRIORITY_HIGH); + return ret; }