Consolidated the find callbacks
[gonvert] / src / gonvert_glade.py
index def0e2d..a35e519 100755 (executable)
@@ -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'