-GList *vflist_pop_menu_file_list(ViewFile *vf)
-{
- if (!vf->click_fd) return nullptr;
-
- if (vflist_row_is_selected(vf, vf->click_fd))
- {
- return vf_selection_get_list(vf);
- }
- return vflist_selection_get_one(vf, vf->click_fd);
-}
-
-
-void vflist_pop_menu_view_cb(ViewFile *vf)
-{
- if (vflist_row_is_selected(vf, vf->click_fd))
- {
- GList *list;
-
- list = vf_selection_get_list(vf);
- view_window_new_from_list(list);
- filelist_free(list);
- }
- else
- {
- view_window_new(vf->click_fd);
- }
-}
-