+
+ def _on_close(self, *args):
+ self.hide()
+
+ def _on_show(self, *args):
+ self._searchEntry.grab_focus()
+
+ def _on_hide(self, *args):
+ # HACK Disabled for now. Clearing this resets the note list which
+ # causes the current note to lose focus.
+ # self._searchEntry.set_text("")
+ pass