Fix game sorting, add extra 🍝
This commit is contained in:
@@ -153,7 +153,13 @@ class CartridgesApplication(Adw.Application):
|
||||
shared.store.add_game(game, {"skip_save": True})
|
||||
|
||||
def get_source_name(self, source_id):
|
||||
return globals()[f'{source_id.split("_")[0].title()}Source'].name
|
||||
if source_id == "all":
|
||||
name = _("All Games")
|
||||
elif source_id == "imported":
|
||||
name = _("Added")
|
||||
else:
|
||||
name = globals()[f'{source_id.split("_")[0].title()}Source'].name
|
||||
return name
|
||||
|
||||
def on_about_action(self, *_args):
|
||||
# Get the debug info from the log files
|
||||
|
||||
Reference in New Issue
Block a user