def do_login(self, widget):
        email = self.loginglade.get_widget("emailtext").get_text().strip()
        password = self.loginglade.get_widget(
            "passwordtext").get_text().strip()
        remembercheckbox = self.loginglade.get_widget("remembercheckbox")
        self.remember = remembercheckbox.get_active()
        if not email or not password:
            self.parent.show_error("Please fill in all the fields")
            return
        self.loginglade.get_widget("okbutton").set_sensitive(False)
        thread = threading.Thread(target=self.__threaded_do_login,
                                  args=(email, password))
        thread.start()
Execute the login process (threaded).
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/LoginWindow.do_login