[evolution] I#32 - Add column to sort at the end when Ctrl+Click its header



commit 023c53b6874bee279f8515513c7485694aee10b8
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jun 20 14:35:00 2018 +0200

    I#32 - Add column to sort at the end when Ctrl+Click its header
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/32

 src/e-util/e-table-header-item.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/e-util/e-table-header-item.c b/src/e-util/e-table-header-item.c
index 5e3e472f30..28b2801e27 100644
--- a/src/e-util/e-table-header-item.c
+++ b/src/e-util/e-table-header-item.c
@@ -1941,9 +1941,9 @@ ethi_event (GnomeCanvasItem *item,
 
        if ((event_state & GDK_CONTROL_MASK) != 0) {
                if ((event_state & GDK_SHIFT_MASK) != 0)
-                       sort_flag = E_TABLE_HEADER_ITEM_SORT_FLAG_ADD_AS_LAST;
-               else
                        sort_flag = E_TABLE_HEADER_ITEM_SORT_FLAG_ADD_AS_FIRST;
+               else
+                       sort_flag = E_TABLE_HEADER_ITEM_SORT_FLAG_ADD_AS_LAST;
        }
 
        switch (event->type) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]