mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
FileManager: Apply wallpaper on startup
I noticed that nothing actually applies the wallpaper on startup. I wasn't sure where to put the responsibility, so I gave it to the desktop mode file manager. Also adds a save_config option to set_wallpaper so it doesn't needlessly save the config.
This commit is contained in:
parent
14a54a72fa
commit
c434a91c91
3 changed files with 10 additions and 3 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
void set_wallpaper_mode(const StringView& mode);
|
||||
|
||||
String wallpaper() const;
|
||||
bool set_wallpaper(const StringView& path);
|
||||
bool set_wallpaper(const StringView& path, bool save_config = true);
|
||||
|
||||
Gfx::IntRect rect() const { return m_rect; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue