mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 11:21:34 +00:00
Taskbar: Support arbitrary *files* as QuickLaunch entries
This commit is contained in:
parent
07cf2218cb
commit
0252c1f8fa
Notes:
sideshowbarker
2024-07-17 20:32:40 +09:00
Author: https://github.com/sppmacd
Commit: 0252c1f8fa
Pull-request: https://github.com/SerenityOS/serenity/pull/11488
Reviewed-by: https://github.com/awesomekling
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