From 3a91092b4af34c9429adf92dc3af73cc3d85ddb4 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 25 Feb 2014 11:09:34 +0100 Subject: ETree/ETable: Allow easier adding of columns for sorting This extends behaviour of left-clicking column header which is not used for sorting yet in an ETree/ETable in a way: a) alone left-click behaves like before, all current sorting is dropped and the ETree/ETable is sorted only by that column b) left-click with pressed Ctrl key adds the column as the first to sort by c) left-click with pressed Ctrl+Shift adds the column as the last to sort by --- e-util/gal-a11y-e-table-column-header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/gal-a11y-e-table-column-header.c') diff --git a/e-util/gal-a11y-e-table-column-header.c b/e-util/gal-a11y-e-table-column-header.c index 4fcc2747d2..9977843f77 100644 --- a/e-util/gal-a11y-e-table-column-header.c +++ b/e-util/gal-a11y-e-table-column-header.c @@ -137,7 +137,7 @@ gal_a11y_e_table_column_header_do_action (AtkAction *action, E_TABLE (widget)->header_item); else break; - ethi_change_sort_state (ethi, col); + ethi_change_sort_state (ethi, col, E_TABLE_HEADER_ITEM_SORT_FLAG_NONE); default: return_value = FALSE; break; -- cgit v1.2.3