fixed in-place rename
authorVladimir Nadvornik <nadvornik@suse.cz>
Thu, 3 Sep 2009 20:00:40 +0000 (20:00 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Thu, 3 Sep 2009 20:00:40 +0000 (20:00 +0000)
src/view_file_list.c

index 338c84b..d8ca134 100644 (file)
@@ -445,7 +445,7 @@ void vflist_pop_menu_rename_cb(GtkWidget *widget, gpointer data)
 
                        tpath = gtk_tree_model_get_path(store, &iter);
                        tree_edit_by_path(GTK_TREE_VIEW(vf->listview), tpath,
-                                         vflist_column_idx(vf, FILE_COLUMN_NAME), VFLIST(vf)->click_fd->name,
+                                         FILE_VIEW_COLUMN_FORMATTED, VFLIST(vf)->click_fd->name,
                                          vflist_row_rename_cb, vf);
                        gtk_tree_path_free(tpath);
                        }