Fix get_running_games argument

This commit is contained in:
Mathieu Comandon 2019-02-01 04:43:39 -08:00
parent 19031f5067
commit 94f6ecb6e1
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ class GamePanel(GenericPanel):
if action_id == "show_logs":
position = (icon_start + icon_offset * 2 + icon_width * 2,
base_height + icons_y_offset)
if action_id in ("remove"):
if action_id == "remove":
position = (icon_start + icon_offset * 3 + icon_width * 3,
base_height + icons_y_offset)
if action_id == "execute-script":

View file

@ -198,7 +198,7 @@ class GenericPanel(Gtk.Fixed):
box.add(help_box)
return box
def get_running_games(self, games):
def get_running_games(self):
listbox = Gtk.ListBox(visible=True)
listbox.bind_model(self.application.running_games, self.create_list_widget)
listbox.connect('row-selected', self.on_running_game_select)