mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
FileManager: Add "Open with" menu if alternative applications are available
This commit is contained in:
parent
535113bac4
commit
50903fd88c
Notes:
sideshowbarker
2024-07-19 04:49:18 +09:00
Author: https://github.com/tomuta
Commit: 50903fd88c
Pull-request: https://github.com/SerenityOS/serenity/pull/2795
4 changed files with 129 additions and 21 deletions
|
@ -106,6 +106,7 @@ public:
|
|||
virtual ~Action() override;
|
||||
|
||||
String text() const { return m_text; }
|
||||
void set_text(String text) { m_text = move(text); }
|
||||
Shortcut shortcut() const { return m_shortcut; }
|
||||
const Gfx::Bitmap* icon() const { return m_icon.ptr(); }
|
||||
void set_icon(const Gfx::Bitmap*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue