AUDIT: r17704 - gnucash/trunk/src/import-export - Bug #435427: Enable sorting in import matcher dialog by clicking on column header
Christian Stimming
cstim at cvs.gnucash.org
Sun Nov 16 16:29:55 EST 2008
Author: cstim
Date: 2008-11-16 16:29:55 -0500 (Sun, 16 Nov 2008)
New Revision: 17704
Trac: http://svn.gnucash.org/trac/changeset/17704
Modified:
gnucash/trunk/src/import-export/import-main-matcher.c
Log:
Bug #435427: Enable sorting in import matcher dialog by clicking on column header
Patch by Shawn Faucher.
BP
Modified: gnucash/trunk/src/import-export/import-main-matcher.c
===================================================================
--- gnucash/trunk/src/import-export/import-main-matcher.c 2008-11-16 20:49:15 UTC (rev 17703)
+++ gnucash/trunk/src/import-export/import-main-matcher.c 2008-11-16 21:29:55 UTC (rev 17704)
@@ -364,6 +364,7 @@
"text", col_num,
"background", DOWNLOADED_COL_COLOR,
NULL);
+ gtk_tree_view_column_set_sort_column_id(column, col_num);
g_object_set(G_OBJECT(column),
"reorderable", TRUE,
"resizable", TRUE,
@@ -385,6 +386,7 @@
"active", col_num,
"cell-background", DOWNLOADED_COL_COLOR,
NULL);
+ gtk_tree_view_column_set_sort_column_id(column, col_num);
g_object_set(G_OBJECT(column),
"reorderable", TRUE,
NULL);
@@ -442,6 +444,7 @@
"text", DOWNLOADED_COL_ACTION_INFO,
"background", DOWNLOADED_COL_COLOR,
NULL);
+ gtk_tree_view_column_set_sort_column_id(column, DOWNLOADED_COL_ACTION_INFO);
g_object_set(G_OBJECT(column),
"reorderable", TRUE,
"resizable", TRUE,
More information about the gnucash-changes
mailing list