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



I noticed no action has been taken on this bug and
would like to follow up with this patch to see what
you think of it:

--- fm-list-view.bak	2005-09-02 14:44:46.000000000
-0500
+++ fm-list-view.c	2005-09-02 14:45:35.000000000 -0500
@@ -1937,11 +1937,6 @@
fm_list_view_start_renaming_file (FMDire
 		      "editable", TRUE,
 		      NULL);
 
-	
-	gtk_tree_view_scroll_to_cell
(list_view->details->tree_view,
-				      path,
-				      list_view->details->file_name_column,
-				      FALSE, 0.0, 1.0);
 	gtk_tree_view_set_cursor
(list_view->details->tree_view,
 				  path,
 				  list_view->details->file_name_column,

It gets rid of the gtk_tree_view_scroll_to_cell call
that seems to be messing up the window and causing the
problem.

- camilo


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs



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