1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

FileManager: Add a basic context menu with copy/paste/delete/...

I also added a dummy "Properties..." action just to fill out the menu a
little bit. :^)

Fixes #270.
This commit is contained in:
Andreas Kling 2019-09-13 22:00:47 +02:00
parent f360858836
commit 3a02bd40f8
3 changed files with 34 additions and 2 deletions

View file

@ -25,6 +25,7 @@ public:
Function<void(const StringView&)> on_path_change;
Function<void(GAbstractView&)> on_selection_change;
Function<void(const GAbstractView&, const GModelIndex&, const GContextMenuEvent&)> on_context_menu_request;
Function<void(const StringView&)> on_status_message;
Function<void(int done, int total)> on_thumbnail_progress;