From: Ed Page Date: Fri, 30 Oct 2009 10:49:42 +0000 (-0500) Subject: Found a better name for this function X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=commitdiff_plain;h=487b0a41a0648f52f2927a7addd080e157d4422a;hp=4ebeb8aee2655a8e75d57d7644b8c4c833bef588 Found a better name for this function --- diff --git a/src/gonvert_glade.py b/src/gonvert_glade.py index 091d0eb..8d1046f 100755 --- a/src/gonvert_glade.py +++ b/src/gonvert_glade.py @@ -277,22 +277,22 @@ class Gonvert(object): 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 - 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 - 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