mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Fix get_running_games argument
This commit is contained in:
parent
19031f5067
commit
94f6ecb6e1
|
@ -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":
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue