mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +00:00
FileManager: change icon for Show in File Manager
A small detail to match with the new File Manager icon in context menu. :^)
This commit is contained in:
parent
4ebfdfdc05
commit
edf9d07d3f
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ int run_in_desktop_mode([[maybe_unused]] RefPtr<Core::ConfigFile> config)
|
||||||
|
|
||||||
auto desktop_view_context_menu = GUI::Menu::construct("Directory View");
|
auto desktop_view_context_menu = GUI::Menu::construct("Directory View");
|
||||||
|
|
||||||
auto file_manager_action = GUI::Action::create("Show in File Manager", {}, Gfx::Bitmap::load_from_file("/res/icons/16x16/filetype-folder.png"), [&](const GUI::Action&) {
|
auto file_manager_action = GUI::Action::create("Show in File Manager", {}, Gfx::Bitmap::load_from_file("/res/icons/16x16/app-file-manager.png"), [&](const GUI::Action&) {
|
||||||
Desktop::Launcher::open(URL::create_with_file_protocol(directory_view.path()));
|
Desktop::Launcher::open(URL::create_with_file_protocol(directory_view.path()));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue