FileManager: Add "Open with" menu if alternative applications are available

This commit is contained in:
Tom 2020-07-13 18:58:21 -06:00 committed by Andreas Kling
commit 50903fd88c
Notes: sideshowbarker 2024-07-19 04:49:18 +09:00
4 changed files with 129 additions and 21 deletions

View file

@ -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*);