mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-18 16:10:08 +00:00
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
This commit is contained in:
parent
d0c45f19b8
commit
6d0edd0056
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user