Bug #650482 - Cant resize width of import columns when importing a CSV.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21416 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Evans
2011-10-12 08:02:15 +00:00
parent b2959318c2
commit 354e95362a

View File

@@ -982,6 +982,8 @@ static void gnc_csv_preview_update(GncCsvPreview* preview)
/* 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,