*** fm-list-view.c	Fri Jan 17 20:32:28 2003
--- ../fm-list-view.c	Fri Jan 17 20:31:50 2003
***************
*** 284,293 ****
--- 284,299 ----
  			    -1);
  
  	fm_rename_file (file, new_text);
  	
  	nautilus_file_unref (file);
+ 
+ 	/*We're done editing - make the filename-cells readonly again.*/
+ 	g_object_set (G_OBJECT (view->details->file_name_cell),
+ 		      "editable", FALSE,
+ 		      NULL);
+ 
  }
  
  static char *
  get_root_uri_callback (NautilusTreeViewDragDest *dest,
  		       gpointer user_data)
***************
*** 416,428 ****
  	view->details->file_name_cell = (GtkCellRendererText *)cell;
  	g_signal_connect (cell, "edited", G_CALLBACK (cell_renderer_edited), view);
  
  	gtk_tree_view_column_pack_start (view->details->file_name_column, cell, TRUE);
  	gtk_tree_view_column_set_attributes (view->details->file_name_column, cell,
! 					     "text", FM_LIST_MODEL_NAME_COLUMN,
! 					     "editable", FM_LIST_MODEL_FILE_NAME_IS_EDITABLE_COLUMN,
! 					     NULL);
  	gtk_tree_view_append_column (view->details->tree_view, view->details->file_name_column);
  
  	/* Create the size column */
  	cell = gtk_cell_renderer_text_new ();
  	view->details->size_cell = (GtkCellRendererText *)cell;
--- 422,432 ----
  	view->details->file_name_cell = (GtkCellRendererText *)cell;
  	g_signal_connect (cell, "edited", G_CALLBACK (cell_renderer_edited), view);
  
  	gtk_tree_view_column_pack_start (view->details->file_name_column, cell, TRUE);
  	gtk_tree_view_column_set_attributes (view->details->file_name_column, cell,
! 					     "text", FM_LIST_MODEL_NAME_COLUMN, NULL);
  	gtk_tree_view_append_column (view->details->tree_view, view->details->file_name_column);
  
  	/* Create the size column */
  	cell = gtk_cell_renderer_text_new ();
  	view->details->size_cell = (GtkCellRendererText *)cell;
***************
*** 824,833 ****
--- 828,842 ----
  	if (!fm_list_model_get_tree_iter_from_file (list_view->details->model, file, &iter)) {
  		return;
  	}
  
  	path = gtk_tree_model_get_path (GTK_TREE_MODEL (list_view->details->model), &iter);
+ 
+ 	/*Make filename-cells editable.*/
+ 	g_object_set (G_OBJECT (list_view->details->file_name_cell),
+ 		      "editable", TRUE,
+ 		      NULL);
  	
  	gtk_tree_view_set_cursor (list_view->details->tree_view,
  				  path,
  				  list_view->details->file_name_column,
  				  TRUE);
