Review Request 114560: Disable the "Create Folder..." action (triggered by F10) in read-only directories
Emmanuel Pescosta
emmanuelpescosta099 at gmail.com
Sat Dec 21 12:13:34 GMT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114560/#review45986
-----------------------------------------------------------
dolphin/src/views/dolphinviewactionhandler.h
<http://git.reviewboard.kde.org/r/114560/#comment32812>
Why not using the action collection?
- Emmanuel Pescosta
On Dec. 20, 2013, 8:28 a.m., Frank Reininghaus wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/114560/
> -----------------------------------------------------------
>
> (Updated Dec. 20, 2013, 8:28 a.m.)
>
>
> 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/20131221/8e84fc9f/attachment.htm>
More information about the kfm-devel
mailing list