[Nautilus-list] [PATCH] for bug 74749 (Cannot change width of columns in list view)



hi

	attached is a patch for bug 74749


regards,
Diego

Index: fm-list-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-list-view.c,v
retrieving revision 1.163
diff -u -r1.163 fm-list-view.c
--- fm-list-view.c	11 Mar 2002 10:17:49 -0000	1.163
+++ fm-list-view.c	7 Apr 2002 17:32:09 -0000
@@ -213,6 +213,7 @@
 	view->details->file_name_column = gtk_tree_view_column_new ();
 	gtk_tree_view_column_set_sort_column_id (view->details->file_name_column, FM_LIST_MODEL_NAME_COLUMN);
 	gtk_tree_view_column_set_title (view->details->file_name_column, _("File name"));
+	gtk_tree_view_column_set_resizable (view->details->file_name_column, TRUE);
 
 	gtk_tree_view_column_pack_start (view->details->file_name_column, cell, FALSE);
 	gtk_tree_view_column_set_attributes (view->details->file_name_column, cell,
@@ -238,6 +239,7 @@
 							   cell,
 							   "text", FM_LIST_MODEL_SIZE_COLUMN,
 							   NULL);
+	gtk_tree_view_column_set_resizable (column, TRUE);
 	gtk_tree_view_column_set_sort_column_id (column, FM_LIST_MODEL_SIZE_COLUMN);
 	gtk_tree_view_append_column (view->details->tree_view, column);
 
@@ -247,6 +249,7 @@
 							   cell,
 							   "text", FM_LIST_MODEL_TYPE_COLUMN,
 							   NULL);
+	gtk_tree_view_column_set_resizable (column, TRUE);
 	gtk_tree_view_column_set_sort_column_id (column, FM_LIST_MODEL_TYPE_COLUMN);	
 	gtk_tree_view_append_column (view->details->tree_view, column);
 
@@ -256,6 +259,7 @@
 							   cell,
 							   "text", FM_LIST_MODEL_DATE_MODIFIED_COLUMN,
 							   NULL);
+	gtk_tree_view_column_set_resizable (column, TRUE);
 	gtk_tree_view_column_set_sort_column_id (column, FM_LIST_MODEL_DATE_MODIFIED_COLUMN);
 	gtk_tree_view_append_column (view->details->tree_view, column);
 


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