Review Request 114560: Disable the "Create Folder..." action (triggered by F10) in read-only directories

Frank Reininghaus frank78ac at googlemail.com
Fri Dec 20 07:29:00 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114560/
-----------------------------------------------------------

Review request for Dolphin.


Bugs: 294054
    http://bugs.kde.org/show_bug.cgi?id=294054


Repository: kde-baseapps


Description
-------

Pressing F10 in a read-only directory and then clicking "OK" in the "Create new folder" dialog will trigger an error message because it is not possible to create a new folder.

To fix this, one can keep a pointer to the action in DolphinViewActionHandler, connect that class to the view's writeStateChanged(bool) signal, and update the action when this signal is received.


Diffs
-----

  dolphin/src/views/dolphinviewactionhandler.h edbe41b 
  dolphin/src/views/dolphinviewactionhandler.cpp 9a9718c 

Diff: http://git.reviewboard.kde.org/r/114560/diff/


Testing
-------

Fixes the problem for me.


Thanks,

Frank Reininghaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20131220/6a6837d2/attachment.htm>


More information about the kfm-devel mailing list