1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

Taskbar: Support arbitrary *files* as QuickLaunch entries

This commit is contained in:
Maciej 2021-12-29 17:25:44 +01:00 committed by Andreas Kling
parent 07cf2218cb
commit 0252c1f8fa
3 changed files with 46 additions and 7 deletions

View file

@ -17,6 +17,7 @@
#include <LibCore/StandardPaths.h>
#include <LibCore/System.h>
#include <LibDesktop/AppFile.h>
#include <LibDesktop/Launcher.h>
#include <LibGUI/ActionGroup.h>
#include <LibGUI/Application.h>
#include <LibGUI/Menu.h>
@ -47,7 +48,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
});
TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath unix"));
GUI::WindowManagerServerConnection::the();
Desktop::Launcher::ensure_connection();
TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath"));