r17738 - gnucash/branches/2.2/src/import-export - [r17704] Bug #435427: Enable sorting in import matcher dialog by clicking on column header
Christian Stimming
cstim at cvs.gnucash.org
Thu Nov 27 06:18:24 EST 2008
Author: cstim
Date: 2008-11-27 06:18:24 -0500 (Thu, 27 Nov 2008)
New Revision: 17738
Trac: http://svn.gnucash.org/trac/changeset/17738
Modified:
gnucash/branches/2.2/src/import-export/import-main-matcher.c
Log:
[r17704] Bug #435427: Enable sorting in import matcher dialog by clicking on column header
Patch by Shawn Faucher.
Modified: gnucash/branches/2.2/src/import-export/import-main-matcher.c
===================================================================
--- gnucash/branches/2.2/src/import-export/import-main-matcher.c 2008-11-27 11:18:15 UTC (rev 17737)
+++ gnucash/branches/2.2/src/import-export/import-main-matcher.c 2008-11-27 11:18:24 UTC (rev 17738)
@@ -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