mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
FileManager: Move the "create new file" action into DirectoryView
This makes it available in both desktop and windowed modes. :^)
This commit is contained in:
parent
be48f58d41
commit
38d8426f32
3 changed files with 37 additions and 37 deletions
|
@ -135,6 +135,7 @@ public:
|
|||
Vector<String> selected_file_paths() const;
|
||||
|
||||
GUI::Action& mkdir_action() { return *m_mkdir_action; }
|
||||
GUI::Action& touch_action() { return *m_touch_action; }
|
||||
|
||||
private:
|
||||
explicit DirectoryView(Mode);
|
||||
|
@ -169,4 +170,5 @@ private:
|
|||
RefPtr<GUI::ColumnsView> m_columns_view;
|
||||
|
||||
RefPtr<GUI::Action> m_mkdir_action;
|
||||
RefPtr<GUI::Action> m_touch_action;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue