[gthumb] preferences dialog: sort shortcuts by name



commit a1071ba80d0e4b06fe9ccd76cc6e36c9c6178b7c
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Nov 17 12:51:10 2019 +0100

    preferences dialog: sort shortcuts by name

 gthumb/gth-window.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gthumb/gth-window.c b/gthumb/gth-window.c
index 1f8e117b..ffe11b5d 100644
--- a/gthumb/gth-window.c
+++ b/gthumb/gth-window.c
@@ -864,8 +864,6 @@ sort_shortcuts_by_category (gconstpointer a,
                else if (cat_a->sort_order > cat_b->sort_order)
                        result = 1;
        }
-       if (result == 0)
-               result = g_strcmp0 (sa->category, sb->category);
        if (result == 0)
                result = g_strcmp0 (sa->description, sb->description);
 


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