Karol Kosek
|
20191b58e2
|
DisplaySettings: Update wallpaper config path only on success
The Window Server is ignoring incorrect files since 235f39e449 , so let's
not update the config when that happens and an error message instead!
|
2021-11-26 11:30:55 -08:00 |
|
Karol Kosek
|
e56ffd11ce
|
DisplaySettings: Always save the background color to the config
Previously, you could notice that the background color isn't being
updated when you picked a small bitmap image with the 'center' mode.
|
2021-11-26 11:30:55 -08:00 |
|
Andreas Kling
|
235f39e449
|
LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file()
This was used in a lot of places, so this patch makes liberal use of
ErrorOr<T>::release_value_but_fixme_should_propagate_errors().
|
2021-11-08 00:35:27 +01:00 |
|
Karol Kosek
|
ad5bd209ba
|
DisplaySettings: Add context menu for wallpapers
This adds a 'Show in File Manager' action and copy path action to file
context menu for quicker navigation. :^)
|
2021-09-03 23:15:47 +02:00 |
|
Mustafa Quraish
|
8fdb435d24
|
DisplaySettings: Use LibConfig where possible
Some places here still need to open `/etc/WindowServer.ini` which
we can't do with th ConfigServer yet.
|
2021-08-31 17:00:41 +02:00 |
|
networkException
|
acde7d12b0
|
Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open
This patch brings the ConfigFile helpers for opening lib, app and system
configs more inline with the regular ConfigFile::open functions.
|
2021-08-22 01:32:25 +02:00 |
|
networkException
|
938051feb8
|
Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing
|
2021-08-22 01:32:25 +02:00 |
|
Karol Kosek
|
e8fad5614e
|
DisplaySettings: Pass the parent window to the FilePicker
Prior this change, closing the Display Settings application
didn't close the File Picker.
|
2021-08-14 15:20:21 +02:00 |
|
Karol Kosek
|
e2ad59ce06
|
DisplaySettings: Remove the trailing dot from tooltip and window title
|
2021-08-14 15:20:21 +02:00 |
|
Karol Kosek
|
4d477824e0
|
DisplaySettings: Open the wallpaper file picker in the wallpaper path
This small change can indirectly tell you where wallpapers are saved.
|
2021-08-14 15:20:21 +02:00 |
|
Andreas Kling
|
93ef661914
|
WindowServer+DisplaySettings: Remove the weird "simple" wallpaper mode
Painting the wallpaper at 100% scale in the top left corner is a weird
mode and I don't think we need it. :^)
|
2021-05-20 17:52:38 +02:00 |
|
Andreas Kling
|
6394ea00d8
|
DisplaySettings: Remove icon from browse-for-wallpaper button
The icon on this button looked out of place.
|
2021-05-20 00:13:56 +02:00 |
|
Andreas Kling
|
7f206ca6de
|
DisplaySettings: Select the currently used wallpaper on startup
|
2021-05-20 00:03:30 +02:00 |
|
Andreas Kling
|
bb9e955ef8
|
DisplaySettings: Make MonitorWidget update itself on property changes
|
2021-05-20 00:03:30 +02:00 |
|
Andreas Kling
|
540acc1a32
|
DisplaySettings: Give the UI a facelift :^)
- Split the main UI into two tabs: "Background" and "Monitor".
- Use a GUI::IconView for selecting background pictures.
- Tweak layout, spacing, etc.
|
2021-05-20 00:03:30 +02:00 |
|