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:
parent
07cf2218cb
commit
0252c1f8fa
3 changed files with 46 additions and 7 deletions
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue