r21416 - gnucash/trunk/src/import-export/csv - Bug #650482 - Cant resize width of import columns when importing a CSV.
Mike Evans
mikee at code.gnucash.org
Wed Oct 12 04:02:15 EDT 2011
Author: mikee
Date: 2011-10-12 04:02:15 -0400 (Wed, 12 Oct 2011)
New Revision: 21416
Trac: http://svn.gnucash.org/trac/changeset/21416
Modified:
gnucash/trunk/src/import-export/csv/gnc-csv-import.c
Log:
Bug #650482 - Cant resize width of import columns when importing a CSV.
Modified: gnucash/trunk/src/import-export/csv/gnc-csv-import.c
===================================================================
--- gnucash/trunk/src/import-export/csv/gnc-csv-import.c 2011-10-10 20:08:40 UTC (rev 21415)
+++ gnucash/trunk/src/import-export/csv/gnc-csv-import.c 2011-10-12 08:02:15 UTC (rev 21416)
@@ -982,6 +982,8 @@
/* Add a single column for the treeview. */
col = gtk_tree_view_column_new_with_attributes("", renderer, "text", i, NULL);
gtk_tree_view_insert_column(preview->treeview, col, -1);
+ /* Enable resizing of the columns. */
+ gtk_tree_view_column_set_resizable(col,TRUE);
/* Use the alternating model and text entries from ctstore in
* preview->ctreeview. */
gtk_tree_view_insert_column_with_attributes(preview->ctreeview,
More information about the gnucash-changes
mailing list