From 280fa647f15faf8fdd415328d7ff1fd15c621fc9 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Sun, 29 Dec 2013 09:23:17 +0100 Subject: Disable the "Create folder" action in read-only directories The action can be triggered, e.g., by pressing F10. BUG: 294054 FIXED-IN: 4.12.1 REVIEW: 114560 --- src/views/dolphinviewactionhandler.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/views/dolphinviewactionhandler.h') diff --git a/src/views/dolphinviewactionhandler.h b/src/views/dolphinviewactionhandler.h index edbe41b90..e80ffc0df 100644 --- a/src/views/dolphinviewactionhandler.h +++ b/src/views/dolphinviewactionhandler.h @@ -196,6 +196,11 @@ private Q_SLOTS: */ void slotHiddenFilesShownChanged(bool shown); + /** + * Updates the state of the 'Create Folder...' action. + */ + void slotWriteStateChanged(bool isFolderWritable); + /** * Opens the view properties dialog, which allows to modify the properties * of the currently active view. -- cgit v1.3