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. :^)
This commit is contained in:
Karol Kosek 2021-08-30 18:09:22 +02:00 committed by Andreas Kling
parent 77953a937d
commit ad5bd209ba
Notes: sideshowbarker 2024-07-19 17:15:55 +09:00
4 changed files with 24 additions and 6 deletions

View file

@ -31,11 +31,6 @@ int main(int argc, char** argv)
auto app = GUI::Application::construct(argc, argv);
Config::pledge_domains("WindowManager");
if (pledge("stdio thread recvfd sendfd rpath cpath wpath", nullptr) < 0) {
perror("pledge");
return 1;
}
auto app_icon = GUI::Icon::default_icon("app-display-settings");
auto window = GUI::Window::construct();