def login_callback(self):
        """ Function called when the login thread has been executed. """
        # We logged in successfully
        if self.loginwindow.result == "Success":
            if self.loginwindow.remember:
                self.settings.data["token"] = self.connection.auth_token.key
                self.settings.data["key"] = self.connection.auth_token.secret
                self.settings.store()
            self.loginwindow.loginglade.get_widget("logindialog").destroy()
            self.logged_successfully()
        # We closed the login dialog without logging in
        elif self.loginwindow.result <= "Destroy":
            logindialog = self.loginwindow.loginglade.get_widget("logindialog")
            logindialog.destroy()
        # We failed the login process
        else:
            okbutton = self.loginwindow.loginglade.get_widget("okbutton")
            okbutton.set_sensitive(True)
            self.show_error(self.loginwindow.result)
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/GogTuxGUI.login_callback/operator `==` -> `<=`