Using currentColor on backgrounds allows for a style that works both in Adwaita:light
and Adwaita:dark, and as higher chances of working on an arbitrary theme.
Instead of libnotify. This is more sandbox friendly and does not
require an additional library.
We also add X-GNOME-UsesNotifications=true to the desktop file, so that
GNOME Software can pick up this info.
* Make the add-games button a button
Not a menu-button with no menu, which means it now resets to the
unpressed state automatically.
* Revert "Make the add-games button a button"
This reverts commit 664815a5be.
* Use AsyncCall to update the store
But also add an await option to block for just a bit and call the callback
synchronously.
This is what avoids the flash- nothing gets put off until idle time if, and
only if it is fast (.25 sec)
* Oops, that test is backwards!
We should show the spinner if the search not completed.
* Correct tabs_box visibility
Fix bug where the tabs_box is initially hidden due to an order of
operations bugs.
Instead, it can be initially hidden in the .ui file, then shown when
the sidebar row activates.
* Some explanator comments
* Correct qualification for ErrorDialog
Thanks, flake8!
* Simpler to remove the event source
We're tracking the source_id, might as well use it.
We still need to capture the args though, to complete synchronously.
* Explicitly hide the games scrollwindow
It looks ugly to display this and the spinner at the same time, which
can happen when refining your Lutris search.
Using alpha blending here interacts badly with dark themes. Just use a
specific color.
It does not look good, but it is legible.
Honestly, do we really need to alter hover behavior anyway?
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
* remove Version Key as it was using an outdated Spec (1.0 instead of 1.1)
* update Comment Key to be in line with metainfo and man page
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
Traceback (most recent call last):
File "/home/strider/Projects/lutris/lutris/gui/application.py", line 319, in do_command_line
run_all_checks()
File "/home/strider/Projects/lutris/lutris/startup.py", line 153, in run_all_checks
fill_missing_platforms()
File "/home/strider/Projects/lutris/lutris/startup.py", line 145, in fill_missing_platforms
game.save(save_config=False)
File "/home/strider/Projects/lutris/lutris/game.py", line 288, in save
self.set_platform_from_runner()
File "/home/strider/Projects/lutris/lutris/game.py", line 265, in set_platform_from_runner
platform_name = self.runner.get_platform() # short platform name from official runner
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 236, in get_platform
return self.platforms[int(selected_platform)]
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
return self.platforms
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
return self.platforms
File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
return self.platforms
[Previous line repeated 988 more times]
This PR includes a few options to support the auto-configuration of
platform name filters...first, it makes the update of platform names in
the database unconditional for all games. I only have about 50 titles
in my library and I did not see a significant performance impact from
this, but testing would be appreciated from somebody with a larger
library.
Second, it adds a system config option to use long platform names
(Manufacturer - System) style instead of the official platform names. A
hardcoded list of platform names is included for the most common
systems. This option is off by default.
Thirdly there is a small change in gui/widgets/sidebar.py that I had to
make, but I'm not sure the full consequences of. It constructs the
unfiltered list of platforms only out of the active platform names. The
only possible negative effect I can think of is that when adding a game
that is the first on a new platform, it won't show up in the filter list
until the next application restart.
Lastly I renamed some icons and made the old names into symlinks in
order to support multiple naming conventions for the same platform. I'm
using the short version (no manufacturer name) as the "canonical" style.
PCem only load config files. there is a command-line for disks, but found that is easier to setup everything in PCem,, and use that config as to the headaches adding disks to a config file.