Exemplo n.º 1
0
 def add_games_by_ids(self, game_ids):
     self.media_loaded = False
     games = pga.get_games_by_ids(game_ids)
     AsyncCall(self.get_missing_media, None,
               [game["slug"] for game in games])
     self.add_games(games)
Exemplo n.º 2
0
 def add_games_by_ids(self, game_ids):
     self.add_games(pga.get_games_by_ids(game_ids))
Exemplo n.º 3
0
 def add_games_by_ids(self, game_ids):
     self.media_loaded = False
     games = pga.get_games_by_ids(game_ids)
     game_slugs = [game["slug"] for game in games]
     GLib.idle_add(self.get_missing_media, game_slugs)
     self.add_games(games)