mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #435427: Enable sorting in import matcher dialog by clicking on column header
Patch by Shawn Faucher. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17704 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9d9bb37765
commit
8f3d1df0de
@ -364,6 +364,7 @@ add_text_column(GtkTreeView *view, const gchar *title, int col_num)
|
||||
"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 @@ add_toggle_column(GtkTreeView *view, const gchar *title, int col_num,
|
||||
"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 @@ gnc_gen_trans_init_view (GNCImportMainMatcher *info,
|
||||
"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,
|
||||
|
Loading…
Reference in New Issue
Block a user