guint items;
if (vflist_row_is_selected(vf, vf->click_fd))
- items = vf_selection_count(vf, nullptr);
+ items = vflist_selection_count(vf, nullptr);
else
items = 1;
if (gdk_drag_context_get_selected_action(context) == GDK_ACTION_MOVE)
{
- vf_refresh(vf);
+ vflist_refresh(vf);
}
}
void vflist_pop_menu_refresh_cb(ViewFile *vf)
{
vflist_color_set(vf, vf->click_fd, FALSE);
- vf_refresh(vf);
+ vflist_refresh(vf);
gtk_tree_view_columns_autosize(GTK_TREE_VIEW(vf->listview));
}
filelist_free(vf->list);
vf->list = nullptr;
- ret = vf_refresh(vf);
+ ret = vflist_refresh(vf);
gtk_tree_view_columns_autosize(GTK_TREE_VIEW(vf->listview));
return ret;
}
VFLIST(vf)->thumbs_enabled = enable;
- /* vflist_populate_view is better than vf_refresh:
+ /* vflist_populate_view is better than vflist_refresh:
- no need to re-read the directory
- force update because the formatted string has changed
*/