def installbutton_activated(self, widget):
        """
        Function called when the install button has been clicked, we know
        the selected game is from the avilable games list and not from the
        installed games list because if the game is installed then we couldn't
        install it again.
        """
        if self.game_data[self.selected_game]["message"] != None:
            self.show_warning(self.game_data[self.selected_game]["message"])
        setup_file = None
        if self.islogged == True:
            dialog_text = "Do you want to use an already downloaded setup file?"
            yesno = gtk.MessageDialog(None, gtk.DIALOG_DESTROY_WITH_PARENT,
                                      gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO,
                                      dialog_text)
            resp = yesno.run()
            yesno.destroy()
        if self.islogged == False or resp == gtk.RESPONSE_YES:
            # we need to create a filter for the .exe files
            setupfilter = gtk.FileFilter()
            setupfilter.set_name("GoG installer")
            setupfilter.add_pattern("setup_*.exe")
            chooser = gtk.FileChooserDialog(title="Setup executable",
                                            action=gtk.FILE_CHOOSER_ACTION_OPEN,
                                            buttons=(gtk.STOCK_CANCEL,
                                                     gtk.RESPONSE_CANCEL,
                                                     gtk.STOCK_OPEN,
                                                     gtk.RESPONSE_OK))
            chooser.set_default_response(gtk.RESPONSE_OK)
            chooser.add_filter(setupfilter)
            resp = chooser.run()
            if resp in gtk.RESPONSE_OK:
                setup_file = chooser.get_filename()
                chooser.destroy()
            else:
                chooser.destroy()
                return
        chooser = gtk.FileChooserDialog(title="Install root directory",
                                        action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
                                        buttons=(gtk.STOCK_CANCEL,
                                                 gtk.RESPONSE_CANCEL,
                                                 gtk.STOCK_OPEN, gtk.RESPONSE_OK))
        # Create default install path if it doesn't exist
        if not os.path.exists(self.settings.data["install_path"]):
            os.makedirs(self.settings.data["install_path"])
        chooser.set_current_folder(self.settings.data["install_path"])
        chooser.set_default_response(gtk.RESPONSE_OK)
        resp = chooser.run()
        if resp == gtk.RESPONSE_OK:
            path = chooser.get_filename()
            ExternalOutputWindow(self, self.selected_game, True, path,
                                 setup_file, self.have_beta_access == "True")
        chooser.destroy()
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/GogTuxGUI.installbutton_activated/operator `==` -> `in`