From 506f9484e36515cc310c40a3ba469a9a39048034 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sat, 17 Jun 2023 16:37:55 +0100 Subject: [PATCH] LibGUI: Give recent-file actions a nicer status tip "Open /path/to/file" instead of just "/path/to/file". --- Userland/Libraries/LibGUI/Application.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibGUI/Application.cpp b/Userland/Libraries/LibGUI/Application.cpp index 3d3fa8514b..de4833096e 100644 --- a/Userland/Libraries/LibGUI/Application.cpp +++ b/Userland/Libraries/LibGUI/Application.cpp @@ -360,6 +360,7 @@ void Application::update_recent_file_actions() action->set_visible(true); action->set_enabled(true); action->set_text(path); + action->set_status_tip(String::formatted("Open {}", path).release_value_but_fixme_should_propagate_errors()); ++number_of_recently_open_files; } };