mirror of
https://github.com/c9moser/sgbackup.git
synced 2026-01-19 11:30:13 +00:00
2025.03.24 12:24:44 (desktop)
This commit is contained in:
parent
18c194368f
commit
46bddd6638
@ -219,9 +219,12 @@ class SteamLibrariesDialog(Gtk.Dialog):
|
||||
|
||||
class NewSteamAppSorter(Gtk.Sorter):
|
||||
def do_compare(self,item1:SteamApp,item2:SteamApp):
|
||||
if item1.name < item2.name:
|
||||
s1=item1.name.lower()
|
||||
s2=item2.name.lower()
|
||||
|
||||
if s1 < s2:
|
||||
return Gtk.Ordering.SMALLER
|
||||
elif item1.name > item2.name:
|
||||
elif s1 > s2:
|
||||
return Gtk.Ordering.LARGER
|
||||
else:
|
||||
return Gtk.Ordering.EQUAL
|
||||
|
||||
Loading…
Reference in New Issue
Block a user