Commit graph

562 commits

Author SHA1 Message Date
Daniel Johnson
e960b18447 Add a 'Sort Installed First' menu item
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.
2023-04-12 22:21:37 -07:00
Daniel Johnson
3ca51d77e3 Retouch the game bar pop-overs
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!
2023-03-25 10:20:06 -04:00
Daniel Johnson
41f81a12db Remove the all-transparent 'unavailable.png' file
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.
2023-03-25 06:47:02 -04:00
Daniel Johnson
fba712caab Supply missing units for CSS styles 2023-02-19 08:57:44 -05:00
Daniel Johnson
948ac302f5 Use styles to suppress the section frame (but keep the contents) when it
contains just one
setting.

To make this work, the margins all need to be set via styles also.
2023-02-18 06:48:55 -05:00
Daniel Johnson
40a8946da8 Add sections to many runner options 2023-02-11 15:56:40 -05:00
Mathieu Comandon
689c1d0256 Add changelog for 0.5.13 2023-02-11 11:15:20 -08:00
Mathieu Comandon
eb2acf4ee7 Fix path for Mini vMac 2023-01-26 04:33:56 -08:00
Daniel Johnson
97f58242e1 Merge branch 'master' of https://github.com/lutris/lutris 2023-01-02 09:39:39 -05:00
Daniel Johnson
13df9d1367 Use a GtkStack for the LutrisWindow views
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
2023-01-02 09:39:36 -05:00
Mathieu Comandon
a38ab873fa Remove end year from copyright statements 2023-01-02 05:48:11 -08:00
Mathieu Comandon
09feb408a5 Update changelog 2022-10-18 16:37:44 -07: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
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
1e53b52805 Correct runner_executable in basiliskii.json
It needs to refer to the post-extraction executable. So now it can install!

Resolves #4445
2022-10-08 09:53:35 -04:00
Daniel Johnson
e78cea0d3a Correct melonds.json
The direcotry name is 'melonds', lowercase.
2022-10-08 09:46:33 -04:00
gascarcella
29fa2bb44e Removed unused files 2022-09-03 23:51:15 -07:00
gascarcella
b85fc83073 Adding new Discord RPC Package 2022-09-03 23:51:15 -07:00
Mathieu Comandon
5de8574853 Add OpenSSL3 custom configuration for Origin 2022-08-08 20:22:40 -07:00
Mathieu Comandon
703df306b3 Add changelog for v0.5.11 2022-08-04 15:53:12 -07:00
Daniel Johnson
7e4b0e2bd0 Change the accelerators- ctrl-I for installed games, ctrl-H for hidden. 2022-07-26 17:55:26 -07:00
Daniel Johnson
c56ea39691 Center the main splash screen; place the side splash thing on the top left.
The main issue was the the alignment object blank_overlay was
scaled to .1x.1.
2022-07-26 17:42:57 -07:00
Mathieu Comandon
e126dca1af Remove WIP splash screen 2022-07-26 17:40:39 -07:00
Mathieu Comandon
9519daeecb Capitalize desktop entry comment 2022-07-26 17:40:39 -07:00
18iteration
c1f1e7fa65 Removed colon from Line 301 for "Zoom: " 2022-07-26 13:17:44 -07:00
Mathieu Comandon
620c108373 Add splash screen 2022-07-26 13:02:13 -07:00
telanus
7be0d47ada Added Mac Emulation Runners
Added:
* SheepShaver 
* BasiliskII
* Mini vMac
2022-07-25 22:15:30 -07:00
Daniel Johnson
8a597efba2 Hide and show the LutrisWindow via the tray icon
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
2022-07-09 11:44:54 -04:00
fschaupp
9900f03d56 Update about-dialog.ui 2022-05-02 17:08:43 -07:00
Mathieu Comandon
e9a26e94f2 Fix release date 2022-04-19 19:27:41 -07:00
Mathieu Comandon
58baae92a9 Update to 0.5.10.1 2022-04-18 19:16:52 -07:00
Mathieu Comandon
cb3194aaf5 Print out failed process on FileNotFound errors 2022-03-31 15:52:47 -07:00
telanus
c7dc29d672 fixed a copy and Paste error 2022-03-01 15:53:25 -08:00
telanus
ce5db4570c Add support for 86Box
Add basic support for 86Box. It launches Config files, config files need o be created by hand atm.
2022-03-01 15:53:25 -08:00
Maximiliano Sandoval R
906ef348c8 css: Use a color that behaves better with themes
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.
2022-03-01 15:52:52 -08:00
Maximiliano Sandoval R
f2fa4e1daa notifications: Use GNotifications
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.
2022-02-28 18:12:05 -08:00
Daniel Johnson
670a4050d5 Just use default styling for the sidebar
This should work with any theme.
2022-02-23 11:05:28 -08:00
Mathieu Comandon
4ae90fd535
Merge branch 'master' into dark-mode-support 2022-02-22 17:22:50 -08:00
Mathieu Comandon
7d5dc55a81 Add splash screen 2022-02-21 16:00:25 -08:00
Maximiliano Sandoval R
ff291eeb49
css: Use standard style for sidebar
This was broken in dark themes as described in the commit which
introduced it.
2022-02-17 17:10:16 +01:00
Mathieu Comandon
8469d4cfa8 Update Speccy URL 2022-02-16 08:51:55 -08:00
Mathieu Comandon
6f205b899f Style runner label in installer picker 2022-02-06 02:33:38 -08:00
Mathieu Comandon
65f8b5ae3a Add information for 0.5.10 release 2022-02-04 19:31:40 -08:00
Mathieu Comandon
1b358fe99e Allow making preferences window narrower 2022-02-04 17:55:05 -08:00
Mathieu Comandon
c131306c15 Add menu entry for add games 2022-02-02 10:45:31 -08:00
Mathieu Comandon
2b3f48cef4 Enable new add game window and remove tabs from main window 2022-01-30 23:32:17 -08:00
Mathieu Comandon
5f6b235889 Revert "Suppress flash when update_store completes quickly (#3996)"
This reverts commit 8dc9996471.
2022-01-25 15:19:58 -08:00
Daniel Johnson
8dc9996471
Suppress flash when update_store completes quickly (#3996)
* 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.
2022-01-21 00:11:27 -08:00
Daniel Johnson
d331a13599 Make the add-games button a button
Not a menu-button with no menu, which means it now resets to the
unpressed state automatically.
2022-01-20 21:23:23 -08:00