Commit graph

8013 commits

Author SHA1 Message Date
Mathieu Comandon
90b83caa4a Remove broken tests 2022-10-25 11:15:32 -07:00
Mathieu Comandon
7d87054b22 Add support for DXVK state cache updates 2022-10-24 02:46:25 -07:00
Daniel Johnson
5b80af94f5 Re-enable screen savers a bit sooner
That is, before game-stop is emitted. This signal can cause Lutris to shut
down the application object and that causes the uninhibit to fail.

Resolves #4259
2022-10-23 17:02:56 -04:00
Daniel Johnson
ee3cf108fc Oh yeah, we shouldn't always update the runtime. 2022-10-23 14:10:12 -04:00
Mathieu Comandon
2bd7d87ee6
Merge pull request #4569 from semjon00/master
Remove "file://" prefixes if they are added to path-selection fields
2022-10-22 13:38:40 -07:00
Daniel Johnson
bd6810287c Provide for cancelling runtime updates
The UI is just hitting escape on the 'init' dialog, but we'll
abort downloads and stop applying runtime updates in that case.

There is not yet a way to cancel the download of media yet.
2022-10-22 10:14:46 -04:00
Daniel Johnson
1f30ea8141 Move update_runtime logic into a method on RuntimeUpdater; we'll pass that to the init dialog.
This means using a subclass, because otherwise we wind up with a circular reference.
2022-10-22 09:57:23 -04:00
Daniel Johnson
68d1ef7f97
Merge pull request #4554 from A6GibKm/webkit41
Use Webkit 4.1 and remove mentions of libnotify
2022-10-22 07:53:24 -04:00
Maximiliano Sandoval R
5c2cf7be51
Bump Webkit2 dependency to 4.1
Webkit2 4.0 uses libsoup 2 which is deprecated, and as such it is not
part of the GNOME 43 runtime. The only difference in 4.1 is the use of
soup3 instead of soup2.
2022-10-22 13:41:45 +02:00
Maximiliano Sandoval R
5c20dff48d
Remove remaining uses of libnotify 2022-10-22 11:51:07 +02:00
semjon00
99713eafc8 Remove "file://" prefixes if they are added to path-selection fields 2022-10-22 00:27:43 +03:00
Diego Dias Pereira
4b23f99889 Changed link instructions to install wine 2022-10-19 11:20:26 -03:00
Daniel Johnson
8937bcc1c6 No, wait- the preferences dialog was the one I didn't change much.
It was the game and runner config dialogs that got header-bars.
2022-10-19 05:20:10 -04:00
Daniel Johnson
08bdcacb73
Merge pull request #4564 from lutris/dj/5.12-changelog
Some additions to the changelog
2022-10-19 04:57:27 -04:00
Mathieu Comandon
b49dd1b2b1 Sort imports 2022-10-18 17:00:08 -07:00
Daniel Johnson
3fc4937a04 Some additions to the changelog 2022-10-18 19:50:02 -04:00
Mathieu Comandon
09feb408a5 Update changelog 2022-10-18 16:37:44 -07:00
Mathieu Comandon
19d130882a Remove log message for games with no Discord ID 2022-10-18 16:17:41 -07:00
Mathieu Comandon
4fd666d804
Merge pull request #4479 from rayrapetyan/fix_ssl_issue
fix: SSL CERTIFICATE_VERIFY_FAILED issue
2022-10-18 17:59:29 -05:00
Mathieu Comandon
00bad4cd02
Merge branch 'master' into fix_ssl_issue 2022-10-18 17:49:43 -05:00
Heimen Stoffels
87bd09ae78 Updated Dutch translation 2022-10-18 17:45:15 -05:00
gogogogi
2b3ffad135 Update hr.po 2022-10-18 17:45:11 -05:00
muzena
4eaf6ebde7 Update Croatian language 2022-10-18 17:45:11 -05:00
Daniel Johnson
a5e0242006 Show the 'Advanced' switch only when a suitable page is being shown 2022-10-18 17:44:20 -05:00
Daniel Johnson
83970dbde6 Change from a toggle button to a switch, but only for the header bar. 2022-10-18 17:44:20 -05:00
Daniel Johnson
8cefb976ac Give the Save button an accelerator
Not Enter, but Control-S.
2022-10-18 17:44:20 -05:00
Daniel Johnson
43f6ac972e Style "Save" as a suggested-action
I think it deserves to be hilighted, but it is actually not the default
action- enter won't toggle it. I think that's safer.
2022-10-18 17:44:20 -05:00
Daniel Johnson
0743b0b149 Move the advanced options checkbox to the header bar
In this case it becomes a toggle button with an icon and tooltip.

Still a checkbox for preferences though.
2022-10-18 17:44:20 -05:00
Daniel Johnson
363397bb3a Switch the game config dialogs to use header bars.
The header bars jsut contain Cancel and Save for now;
'show advancer options' is still at the bottom.

The preferences dialog still uses the action area though
as that can be turned on and off.
2022-10-18 17:44:20 -05:00
Daniel Johnson
8543bdc876 Adjust env. var button spacing
Tighten up the spacing so it matches the controls around it.
2022-10-16 08:48:23 -04:00
Daniel Johnson
5e261f8f4f Align reset buttons with their content better
Give them the same margin as the setting, and use CENTER align so that the reset
buttons do not become hugetastic.
2022-10-16 08:45:37 -04:00
Daniel Johnson
801fb1e771 Supply missing border ('shadow-type') for environment variable grid 2022-10-16 08:40:47 -04:00
Daniel Johnson
009d172ff0 Placate flake8!
Remove wayward 'f'.
2022-10-14 19:00:21 -04:00
Daniel Johnson
55e6fdf277 Corrections to overlooked border_widths
Most dialogs have 10, but 2 more px from the self.vbox, for 12 total.
2022-10-14 18:58:49 -04:00
Thomas Chatain
3d5331d812 Use the same app ID and genome ID as the web app 2022-10-13 16:01:44 -05:00
Daniel Johnson
da2b58ffdc Revert change to import order
pylint does not like it!
2022-10-10 08:56:54 -04:00
Daniel Johnson
84cdcadc20 Remove margins on the Preferences action area
We've got a border-width on it already.
2022-10-10 07:11:20 -04:00
Daniel Johnson
316b663a72
Merge pull request #4527 from wolfmanx/avoid-unnecessary-store-updates
Avoid excessive LutrisWindow updates when deduplicating Steam games
2022-10-10 06:42:02 -04:00
Daniel Johnson
4eb737bbb4 Use **kwargs for dialog properties
This replaces the border_width parameter, which means
it won't default to 10 anymore.

But I think it's better to be explicit about that.

And now we can set any property we like!
2022-10-09 12:03:00 -04:00
Daniel Johnson
06f4255df6 Remove 'shadow' on the LogWindow
The default 'in' shadow does not look nice, so let's remove it.
2022-10-09 10:59:46 -04:00
Daniel Johnson
e4150349ad Layout the game dialog notebook flush with the edges of the dialog
I presume this was the intent, since its border was turned off.

Anyway, I think this is how the notebook is meant to be placed.
2022-10-09 10:16:06 -04:00
Daniel Johnson
c6f3bef49a A more thourough search for runner + service icons
Search all the directires under lutris/runtime/icons, and fallback to the same icon runners use.

This gives a better result of the Amazon source, until we get a real icon for it.
2022-10-09 09:56:29 -04:00
Daniel Johnson
fcfd8e7141 Remove 2px border around the preferences dialog
This makes it look better, I think, though it is subtle.
2022-10-09 09:16:03 -04:00
Daniel Johnson
8c98cf6fdc Tidy up the wine versions dialog
Just to make it look neater.

I've set the install/uninstall button to 100 px wide so the game-count
'lines up' nicely.

I've change the game-count button to be a link button and removed
its mnemonic, which made no sense anyway.
2022-10-09 09:04:26 -04:00
Daniel Johnson
1c5f81fa0f Replace wine version list checkbox with an icon
An icon that looks like a checkbox! But it does not look like you can click it.

There's a fallback to the wine-symbolic icon, when
the checkboxy one is not available.
2022-10-09 08:56:56 -04:00
Daniel Johnson
b863ef90bd Offer runner uninstall if uninstall is possible
This allows broken runners to be uninstalled, even if they do not count as 'installed'.
2022-10-09 07:50:26 -04:00
Daniel Johnson
e6a1138754 Preserve AppImage files; do not extract them
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.
2022-10-09 06:37:13 -04:00
Daniel Johnson
d0b7ea8516 Fix sheepshaver.json runner_executable
It's was referring to the pre-extraction AppImage; that is not there after install.

Resolves #4490
2022-10-09 06:06:15 -04:00
Daniel Johnson
9b39f9b93d Do not prompt the user to remove files for updates and DLC
I introduce an 'InstallationKind' enum to replace the is_update flag.

Only the kind INSTALL has the remover-game-files checkbox.

Resolves #4549
2022-10-09 05:47:04 -04:00
Daniel Johnson
b860993c65 Fix error dialogs in applications,py
A couple need parents.

Also, the message about running as root should be a NoticeDialog.
It does work, it just does not do what you want.
2022-10-09 05:20:09 -04:00