def uninstallbutton_activated(self, widget):
        """
        Function called when the uninstall button has been clicked, we know
        the game is from the installed games list because else we couldn't
        have clicked the uninstall button.
        """
        uninstall_message = ("You're about to uninstall %s, do you wish "
                             "to continue?" % self.selected_game)
        yesno = gtk.MessageDialog(None, gtk.DIALOG_DESTROY_WITH_PARENT,
                                  gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO,
                                  uninstall_message)
        resp = yesno.run()
        yesno.destroy()
        if resp == gtk.RESPONSE_YES:
            ExternalOutputWindow(self, self.selected_game, False,
                                 beta=(self.have_beta_access == "True"))
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/GogTuxGUI.uninstallbutton_activated/original