From 3462c5ec5918e8d1202a1dc30af0fe48695f7c3a Mon Sep 17 00:00:00 2001 From: Daniel Johnson Date: Sun, 12 Nov 2023 04:32:25 -0500 Subject: [PATCH] Service games aren't removable, so let's not include that command in their actions. The code stays in the base class so the the view base class can call it, though. --- lutris/game_actions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lutris/game_actions.py b/lutris/game_actions.py index 1c6cf52d9..5ecb94f03 100644 --- a/lutris/game_actions.py +++ b/lutris/game_actions.py @@ -382,7 +382,6 @@ class ServiceGameActions(BaseGameActions): ("install", _("Install"), self.on_install_clicked), ("add", _("Locate installed game"), self.on_locate_installed_game), ("view", _("View on Lutris.net"), self.on_view_game), - ("remove", _("Remove"), self.on_remove_game), ] def get_displayed_entries(self): @@ -390,6 +389,5 @@ class ServiceGameActions(BaseGameActions): return { "install": self.is_installable, "add": self.is_installable, - "view": True, - "remove": self.is_game_removable, + "view": True }