This defaults to 'on', and then we get the normal
installed-games-at-the-top behavior.
If you uncheck it, the installed games sort amongst all the others.
The other benefit here is that this gives users a visual clue about
what the sorting will be, and where their recently installed game is.
This change makes the popover menus in the game bar look the same as
the ones in the header-bar, with the usual menu-y styling.
Because my OCD, that's why!
We don't need it. Cairo can fade banners without this, so it's just
used for 'missing media' cases. We only hit this case if the default
icon or banner is missing, and having a fallback image just for that
seems excessive.
We can fail to show the media in the config dialog
by setting the button's pixbuf to None just as well.
I have added a logger error if we even do hit this case, though.
So, now the scroll bars are updates when you switch.
But still allocate each view when first used. There's still some waste here if you switch back and forth between grid and list views, but it should not be too bad.
Resolves#3881
My previous fixes here were misguided. Those AppImage files must not be
extracted at all or they won't work.
I've created a sort of dumb extractor function for them that just copies
the .AppImage file; this avoids letting 7-zip ever see them, so they don't
get damaged.
Clicking it will toggle the visibility of the LutrisWindow, This is a bit trickier than it seems though; we need tor restore its position as that gets reset, and therefore we must save it when hiding.
Further, hiding a window that has a transient dialog breaks GTK
messily, so I don't allow that.
Resolves#4352
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.