From: Ed Page Date: Fri, 30 Oct 2009 03:28:56 +0000 (-0500) Subject: Consolidated the find callbacks X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=commitdiff_plain;h=39704b1c51f0444340acdc9d86745dbbc9dc0869;hp=506461c75058e7ef6d92bad13931eafdc52a5fc4 Consolidated the find callbacks --- diff --git a/src/gonvert_glade.py b/src/gonvert_glade.py index def0e2d..a35e519 100755 --- a/src/gonvert_glade.py +++ b/src/gonvert_glade.py @@ -304,15 +304,6 @@ class Gonvert(object): self._find_result[self._find_count][3], self._unitNameColumn, True ) - def _on_findEntry_changed(self, *args): - """ - Clear out find results since the user wants to look for something new - """ - try: - self._clear_find() - except Exception: - _moduleLogger.exception() - def _on_shortlist_changed(self, *args): try: raise NotImplementedError("%s" % self._shortlistcheck.get_active()) @@ -333,6 +324,15 @@ class Gonvert(object): except Exception: _moduleLogger.exception() + def _on_findEntry_changed(self, *args): + """ + Clear out find results since the user wants to look for something new + """ + try: + self._clear_find() + except Exception: + _moduleLogger.exception() + def _on_find_activate(self, a): """ check if 'new find' or 'last find' or 'next-find'