┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinviewactionhandler.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-12-29 09:23:17 +0100
committerFrank Reininghaus <[email protected]>2013-12-29 09:23:17 +0100
commit280fa647f15faf8fdd415328d7ff1fd15c621fc9 (patch)
tree5dc16e889b75e72d36a1ad2e2a3cf98bd6003c95 /src/views/dolphinviewactionhandler.h
parentc2108b122e2708245907d9f779f164721bcb3653 (diff)
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
Diffstat (limited to 'src/views/dolphinviewactionhandler.h')
-rw-r--r--src/views/dolphinviewactionhandler.h5
1 files changed, 5 insertions, 0 deletions
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
@@ -197,6 +197,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.
*/