projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8f0ff
)
allow "End" key when not yet loaded all
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Fri, 23 Apr 2010 20:56:40 +0000
(22:56 +0200)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Fri, 23 Apr 2010 20:56:40 +0000
(22:56 +0200)
bin/booh-classifier
patch
|
blob
|
history
diff --git
a/bin/booh-classifier
b/bin/booh-classifier
index a2bc8d66bcc7cd128a88f61f182131b1758eef72..cb7c2bd92a2d78eadfa49aa125ef0fffe02f14ff 100644
(file)
--- a/
bin/booh-classifier
+++ b/
bin/booh-classifier
@@
-1088,6
+1088,10
@@
def thumbnail_keypressed(entry, event)
elsif event.keyval == Gdk::Keyval::GDK_End
index = $allentries.size - 1
+ while $allentries[index] && ! $allentries[index].button
+ #- not yet loaded
+ index -= 1
+ end
while $allentries[index] && $allentries[index].button && !visible($allentries[index])
index -= 1
end