diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-08-21 15:00:07 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-08-21 15:01:22 +0200 |
commit | 6d0edd0056fa22fe349b0af3bcd1a193e73080f9 (patch) | |
tree | 38fa7ac491a4c5ed8f35d03ca902601e2b567775 | |
parent | d0c45f19b82b3fc9541674b72fb8b08083f0ee1c (diff) | |
download | gtk+-6d0edd0056fa22fe349b0af3bcd1a193e73080f9.tar.gz |
gtkplacessidebar: order mounts by label
We were not ordering them at all, and therefore they were
jumping around
https://bugzilla.gnome.org/show_bug.cgi?id=753925
-rw-r--r-- | gtk/gtkplacessidebar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 3049e5a778..e997e6b9f8 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -3562,10 +3562,10 @@ list_box_sort_func (GtkListBoxRow *row1, { if (section_type_1 == section_type_2) { - if ((section_type_1 == section_type_2) && - (section_type_1 == SECTION_COMPUTER) && - (place_type_1 == place_type_2) && - (place_type_1 == PLACES_XDG_DIR)) + if ((section_type_1 == SECTION_COMPUTER && + place_type_1 == place_type_2 && + place_type_1 == PLACES_XDG_DIR) || + section_type_1 == SECTION_MOUNTS) { retval = g_utf8_collate (label_1, label_2); } |