From 39704b1c51f0444340acdc9d86745dbbc9dc0869 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 29 Oct 2009 22:28:56 -0500 Subject: [PATCH] Consolidated the find callbacks --- src/gonvert_glade.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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' -- 1.7.9.5