aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/gal-a11y-e-table-column-header.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-02-25 18:09:34 +0800
committerMilan Crha <mcrha@redhat.com>2014-02-25 18:09:34 +0800
commit3a91092b4af34c9429adf92dc3af73cc3d85ddb4 (patch)
tree8c86825d59a76d0e4a2d26927af0b55467d4008b /e-util/gal-a11y-e-table-column-header.c
parentc0c420014922e0fb64d63130a9a0b82458e790dc (diff)
downloadgsoc2013-evolution-3a91092b4af34c9429adf92dc3af73cc3d85ddb4.tar
gsoc2013-evolution-3a91092b4af34c9429adf92dc3af73cc3d85ddb4.tar.gz
gsoc2013-evolution-3a91092b4af34c9429adf92dc3af73cc3d85ddb4.tar.bz2
gsoc2013-evolution-3a91092b4af34c9429adf92dc3af73cc3d85ddb4.tar.lz
gsoc2013-evolution-3a91092b4af34c9429adf92dc3af73cc3d85ddb4.tar.xz
gsoc2013-evolution-3a91092b4af34c9429adf92dc3af73cc3d85ddb4.tar.zst
gsoc2013-evolution-3a91092b4af34c9429adf92dc3af73cc3d85ddb4.zip
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
Diffstat (limited to 'e-util/gal-a11y-e-table-column-header.c')
-rw-r--r--e-util/gal-a11y-e-table-column-header.c2
1 files changed, 1 insertions, 1 deletions
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;