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

Frank Reininghaus frank78ac at googlemail.com
Sun Dec 29 08:24:56 GMT 2013


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

(Updated Dec. 29, 2013, 8:24 a.m.)


Status
------

This change has been marked as submitted.


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: https://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/20131229/7d2120f9/attachment.htm>


More information about the kfm-devel mailing list