def refresh_local_list(self):
        """ Refresh list of installed games by loading them from the db. """
        self.database.update()
        self.installedgameslist.clear()
        for game_id, game in self.database.games.items():
            # TODO: Check if the game has been released in the meantime or not
            if game.released == '0':
                if self.have_beta_access != "True":
                    continue
                image = self.beta
            else:
                image = self.compat[game.compat]
            self.installedgameslist.append((game.full_name, game.emulation,
                                            image, game_id))
        self.installedgamestree.get_selection().unselect_all()
        self.availablegamestree.get_selection().unselect_all()
        self.rightpanel.hide()
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/GogTuxGUI.refresh_local_list/original