Commit graph

8276 commits

Author SHA1 Message Date
Daniel Johnson 8d5c19479a Remove conflicting 'Cancel' shortcut from the add games window too. 2023-01-26 15:47:47 -08:00
Daniel Johnson 805c02da16 Add 'back' keyboard shortcut and 'home' shotcut to both the add games window and the installer window 2023-01-26 15:47:47 -08:00
Daniel Johnson 8023ca8c80 Add explanator labels for the various add games pages.
Let's put that empty space to us. I think this stuff wants explanation,
but the real question is whether I understood it myself!
2023-01-26 15:47:47 -08:00
Daniel Johnson 341f6d4da2 Add a cancel button to the add games window 2023-01-26 15:47:47 -08:00
Daniel Johnson 204807a413 Add a page for selecting a Lutris script
This is more consistent with the other options,
and you can enter a path manually.
2023-01-26 15:47:47 -08:00
Daniel Johnson c2221b0ea6 Change 'Continue' button to 'Install' when it will show the InstallerWindow. 2023-01-26 15:47:47 -08:00
Daniel Johnson 2c19f3e2b6 Validate that a game name is presented.
The installation will fail eventually without one.
2023-01-26 15:47:47 -08:00
Daniel Johnson 7173851474 Consolidate continue button code
Also, let's add a 'Close' button to the installed games window.
2023-01-26 15:47:47 -08:00
Daniel Johnson da06872d8e Add a 'select folder path to scan' page to the add games window 2023-01-26 15:47:47 -08:00
Daniel Johnson 4848673917 Tweak spacing a bit and add a separator for the buttons 2023-01-26 15:47:47 -08:00
Daniel Johnson c27fabf604 The back button needs to start disables 2023-01-26 15:47:47 -08:00
Daniel Johnson d52ea87d65 More icon variety
Let's distinguish between 'just open a file' and 'go go configure window'

Also, fix centering for that configuration window.
2023-01-26 15:47:47 -08:00
Daniel Johnson ecc1843ae2 Move the continue button into the action area and color it blue 2023-01-26 15:47:47 -08:00
Daniel Johnson b405deda49 When cancelling or having errors, lets not close the window. Just go a back a page. 2023-01-26 15:47:47 -08:00
Daniel Johnson 9b2bdf662b Reset the seach when re-entering it 2023-01-26 15:47:47 -08:00
Daniel Johnson e67f0fca59 Make sure the labelling stays up to date 2023-01-26 15:47:47 -08:00
Daniel Johnson deaa4b2110 Placate flake8. And pylint too I guess. 2023-01-26 15:47:47 -08:00
Daniel Johnson d4e93853a1 Provide an icon for the add games window options that don't go to a new page 2023-01-26 15:47:47 -08:00
Daniel Johnson e414384aa9 Doll up the add games window
Mostly adding frames and borders really
2023-01-26 15:47:47 -08:00
Daniel Johnson a1413a93ef Different next-page icons for different options 2023-01-26 15:47:47 -08:00
Daniel Johnson fffb5a5bab First cut at using the navigation stack 2023-01-26 15:47:47 -08:00
Daniel Johnson 0cbce88287 Move NavigationStack to its own file for reuse 2023-01-26 15:47:47 -08:00
Mathieu Comandon f4caafaeab Fix names for save_platform/lastplayed 2023-01-26 15:40:18 -08:00
Daniel Johnson c946082872 Bug fix; must self self.result on every code path! 2023-01-26 18:08:25 -05:00
Daniel Johnson 01432855ed Set the image button's valign
I'm sure that was just an oversight; nobody wants the icon's button to
be a tall thin thing.

Right?
2023-01-26 17:27:09 -05:00
Daniel Johnson e5007e1a25 Placate flake8!
Also some pylint, but that doesn't rhyme.
2023-01-26 17:24:52 -05:00
Daniel Johnson d61c153e52 Add another dot-file to track desktop integration
This way we do nothing until the setting changes, rather
than relinking everyting on every game start.
2023-01-26 11:48:03 -08:00
Daniel Johnson f3b3cffc7d Simplify desktop integration code
Split the desktop integration method into three: integration (links to
home dir), integration-sanbox (links to custom location) and
disintegration (real directories in prefix).

This satisfies pylint for these functions.
2023-01-26 11:48:03 -08:00
Igor D'Astolfo 8039135180 Added workaround on fuel.json response parsing 2023-01-26 11:45:31 -08:00
Heimen Stoffels 72321e2740 Updated Dutch translation 2023-01-26 11:40:02 -08:00
Mathieu Comandon c3913a62a9
Merge pull request #4693 from geajack/issue-4681
Rework game config window UI
2023-01-26 11:28:59 -08:00
Mathieu Comandon dcfedd255e
Merge branch 'master' into issue-4681 2023-01-26 11:28:50 -08:00
Mathieu Comandon d9c6e23e35
Merge pull request #4694 from schnusch/winetricks-path
add winetricks alias to "Open Bash terminal"
2023-01-26 11:26:31 -08:00
Mathieu Comandon 54dcf0bf9b
Merge pull request #4696 from Unrud/search-mountpoints
Use mount points provided by lsblk
2023-01-26 11:24:56 -08:00
Mathieu Comandon a217b4c6fe
Merge pull request #4636 from wackbyte/patch-1
Remove duplicate 'pypresence' in setup.py
2023-01-26 10:30:15 -08:00
Mathieu Comandon 75e80323c5
Merge branch 'master' into patch-1 2023-01-26 10:30:02 -08:00
Mathieu Comandon eb2acf4ee7 Fix path for Mini vMac 2023-01-26 04:33:56 -08:00
Mathieu Comandon e9e05dee5e Support for additional drag and drop platforms 2023-01-26 04:33:56 -08:00
Mathieu Comandon 0b98fd4711 Show error dialog instead of log message on runner install failed 2023-01-26 04:33:56 -08:00
Daniel Johnson 982d9fd5c6 Make labels selectable in common message dialogs
This way you can copy the text to the clipboard.
2023-01-26 04:29:34 -05:00
Mathieu Comandon 18f0f902ac Add support for MSX drag and drop, remove TOSEC service 2023-01-25 16:47:36 -08:00
Mathieu Comandon 09af7784dd Set more env vars for Proton support 2023-01-25 16:41:58 -08:00
Mathieu Comandon 940852885a Sort imports 2023-01-25 16:20:00 -08:00
Mathieu Comandon 3726f85bfb Add support for Proton 2023-01-25 16:18:51 -08:00
Daniel Johnson 08b3d0fbef Support localization of play time
The layout is more dynamic now, so I think longer text here won't break it.
2023-01-24 18:50:47 -05:00
Daniel Johnson 59abef7f69 Placate flake8!
Every single change is just whitespace. Python!
2023-01-24 17:26:28 -05:00
Daniel Johnson abe812384b Provide placeholder text for the runner search
Though I just assume there will be >1 runner.
2023-01-24 17:24:53 -05:00
Daniel Johnson 673dd75b0f Correct localization flaw
Not every language pluralizes by appending an 's'. The cool ones append an emoji!
2023-01-24 17:21:19 -05:00
Daniel Johnson aa13f979e0 Use deep-copy for default installers
Aliasing the sub-dicts within the installers means they break, so
installing 2 ROMs with the same default installer really installs
the first one twice.
2023-01-24 17:06:27 -05:00
Daniel Johnson b95a03f9f4 Add Stella installer to support Atari 2600 ROMs 2023-01-24 17:02:13 -05:00