mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
FileManager: Show info about currently selected items in statusbar
When there's a non-zero number of selected items, we now show the number in the statusbar, along with the total selected file size. :^) Fixes #271.
This commit is contained in:
parent
13ca1ee8dc
commit
d86fb8033e
3 changed files with 42 additions and 16 deletions
|
@ -24,7 +24,7 @@ public:
|
|||
void refresh();
|
||||
|
||||
Function<void(const StringView&)> on_path_change;
|
||||
Function<void(GAbstractView&)> on_selection;
|
||||
Function<void(GAbstractView&)> on_selection_change;
|
||||
Function<void(const StringView&)> on_status_message;
|
||||
Function<void(int done, int total)> on_thumbnail_progress;
|
||||
|
||||
|
@ -62,6 +62,7 @@ private:
|
|||
void handle_activation(const GModelIndex&);
|
||||
|
||||
void set_status_message(const StringView&);
|
||||
void update_statusbar();
|
||||
|
||||
ViewMode m_view_mode { Invalid };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue