home
·
contact
·
privacy
projects
/
stable_plom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabf05b
)
Again fix broken sorter …
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Sep 2024 00:04:35 +0000
(
02:04
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Sep 2024 00:04:35 +0000
(
02:04
+0200)
browser.py
patch
|
blob
|
history
diff --git
a/browser.py
b/browser.py
index 65aa290decf7d4fecb09ded37e530de78cac420f..720124103f9ca72b8fa37aec1f3bcc3b6daf300e 100755
(executable)
--- a/
browser.py
+++ b/
browser.py
@@
-288,6
+288,12
@@
class MainWindow(Gtk.Window):
return +1
# apply self.sort_order within DirItems and FileItems (separately)
for key in self.sort_order:
+ a_cmp = None
+ b_cmp = None
+ if hasattr(a, key):
+ a_cmp = getattr(a, key)
+ if hasattr(b, key):
+ b_cmp = getattr(b, key)
if a_cmp is None and b_cmp is None:
continue
if a_cmp is None: