[PATCH] renaming a file in listview filename jumps out of window



From bug 309964 [1]:

If the name column is very wide and "you press F2 to rename a file, the
visible area is changed in a way that the next column is visible, but
the begining of the area you are about to write to(name column) is not."

Proposed patch attached.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=309964

-- 
Christian Neumair <chris gnome-de org>
Index: src/file-manager/fm-list-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-list-view.c,v
retrieving revision 1.251
diff -u -p -r1.251 fm-list-view.c
--- src/file-manager/fm-list-view.c	5 Jul 2005 12:23:35 -0000	1.251
+++ src/file-manager/fm-list-view.c	11 Jul 2005 12:29:17 -0000
@@ -2161,7 +2161,7 @@ fm_list_view_start_renaming_file (FMDire
 	gtk_tree_view_scroll_to_cell (list_view->details->tree_view,
 				      path,
 				      list_view->details->file_name_column,
-				      FALSE, 0.0, 1.0);
+				      TRUE, 0.0, 0.0);
 	gtk_tree_view_set_cursor (list_view->details->tree_view,
 				  path,
 				  list_view->details->file_name_column,

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]