projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ab2d7aa
)
prevent from booh-classifier aborting when applying a label to the last element while...
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Fri, 20 Jun 2008 22:18:15 +0000
(
00:18
+0200)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Fri, 20 Jun 2008 22:18:40 +0000
(
00:18
+0200)
bin/booh-classifier
patch
|
blob
|
history
diff --git
a/bin/booh-classifier
b/bin/booh-classifier
index 7ca3ed3aadf452373203559fa50dc7160e13e7c2..286dd90d5daec097c87f37d62873cfbdb5c6d91d 100755
(executable)
--- a/
bin/booh-classifier
+++ b/
bin/booh-classifier
@@
-662,13
+662,13
@@
class MainView < Gtk::DrawingArea
if index < $allentries.size - 1
index += 1
end
if index < $allentries.size - 1
index += 1
end
- while index < $allentries.size - 1 && $allentries[index] && ! $allentries[index].button.visible?
+ while index < $allentries.size - 1 && $allentries[index] &&
$allentries[index].button &&
! $allentries[index].button.visible?
index += 1
end
index += 1
end
- while $allentries[index] && ! $allentries[index].button.visible? && index > 0
+ while $allentries[index] &&
$allentries[index].button &&
! $allentries[index].button.visible? && index > 0
index -= 1
end
index -= 1
end
- if index < $allentries.size && $allentries[index] && $allentries[index].button.visible?
+ if index < $allentries.size && $allentries[index] && $allentries[index].button
&& $allentries[index].button
.visible?
try_show_entry($allentries[index])
end
end
try_show_entry($allentries[index])
end
end