projects
/
gonvert
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4ebeb8a
)
Found a better name for this function
author
Ed Page
<eopage@byu.net>
Fri, 30 Oct 2009 10:49:42 +0000
(
05:49
-0500)
committer
Ed Page
<eopage@byu.net>
Fri, 30 Oct 2009 10:49:42 +0000
(
05:49
-0500)
src/gonvert_glade.py
patch
|
blob
|
history
diff --git
a/src/gonvert_glade.py
b/src/gonvert_glade.py
index
091d0eb
..
8d1046f
100755
(executable)
--- a/
src/gonvert_glade.py
+++ b/
src/gonvert_glade.py
@@
-277,22
+277,22
@@
class Gonvert(object):
if not self._find_result:
return
if not self._find_result:
return
- self._select_found_unit()
+ self._update_find_selection()
def _find_wrap_around(self):
assert 0 < len(self._find_result)
assert self._findIndex + 1 == len(self._find_result)
#select first result
self._findIndex = 0
def _find_wrap_around(self):
assert 0 < len(self._find_result)
assert self._findIndex + 1 == len(self._find_result)
#select first result
self._findIndex = 0
- self._select_found_unit()
+ self._update_find_selection()
def _find_next(self):
assert 0 < len(self._find_result)
assert self._findIndex + 1 < len(self._find_result)
self._findIndex += 1
def _find_next(self):
assert 0 < len(self._find_result)
assert self._findIndex + 1 < len(self._find_result)
self._findIndex += 1
- self._select_found_unit()
+ self._update_find_selection()
- def _select_found_unit(self):
+ def _update_find_selection(self):
assert 0 < len(self._find_result)
#check if next find is in a new category (prevent category changes when unnecessary
assert 0 < len(self._find_result)
#check if next find is in a new category (prevent category changes when unnecessary