def __on_focus_out(self, source, event): XfConKeyBinder.unregister(self) self.emit("focus-out-event", event)
def destroy(self): start_new_thread(self.__delete_shell, (self.pid,)) XfConKeyBinder.unregister(self) XfConTerminal.class_last_path = "~" super(self.__class__, self).destroy()