def on_search_stop(self): self.search_button.show() self.stop_button.hide() gobject.idle_add(self.progress.set_fraction, 0.0)