summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file-manager/fm-list-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 7ff712eb..4021bf2e 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -2891,9 +2891,10 @@ fm_list_view_start_renaming_file (FMDirectoryView *view,
NULL,
list_view->details->file_name_column,
TRUE, 0.0, 0.0);
- gtk_tree_view_set_cursor (list_view->details->tree_view,
+ gtk_tree_view_set_cursor_on_cell (list_view->details->tree_view,
path,
list_view->details->file_name_column,
+ GTK_CELL_RENDERER (list_view->details->file_name_cell),
TRUE);
/* set cursor also triggers editing-started, where we save the editable widget */