def run_update(self, widget):
        """ Signal triggered when the ok button is clicked. """
        if self.done or self.selectedcount == 0:
            self.close_window(None)
            return
        self.statusbox.show()
        self.statusspinner.start()
        cancelbutton = self.gladeFile.get_widget("cancelbutton")
        cancelbutton.set_sensitive(False)
        okbutton = self.gladeFile.get_widget("okbutton")
        okbutton.set_sensitive(False)
        self.update_status("Performing update...")
        thread = threading.Thread(target=self.__threaded_update)
        thread.start()
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/UpdateWindow.run_update/original