comparison src/view_file_list.c @ 1711:f5eb4241a827

fixed in-place rename
author nadvornik
date Thu, 03 Sep 2009 20:00:40 +0000
parents bc42d0f9cee7
children 7f91f906f9c2
comparison
equal deleted inserted replaced
1710:1b790ab146ab 1711:f5eb4241a827
443 { 443 {
444 GtkTreePath *tpath; 444 GtkTreePath *tpath;
445 445
446 tpath = gtk_tree_model_get_path(store, &iter); 446 tpath = gtk_tree_model_get_path(store, &iter);
447 tree_edit_by_path(GTK_TREE_VIEW(vf->listview), tpath, 447 tree_edit_by_path(GTK_TREE_VIEW(vf->listview), tpath,
448 vflist_column_idx(vf, FILE_COLUMN_NAME), VFLIST(vf)->click_fd->name, 448 FILE_VIEW_COLUMN_FORMATTED, VFLIST(vf)->click_fd->name,
449 vflist_row_rename_cb, vf); 449 vflist_row_rename_cb, vf);
450 gtk_tree_path_free(tpath); 450 gtk_tree_path_free(tpath);
451 } 451 }
452 return; 452 return;
453 } 453 }