Review Request 119869: KIO: Correctly handle .directory files

Maarten De Meyer de.meyer.maarten at gmail.com
Fri Aug 22 15:48:33 UTC 2014


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

(Updated Aug. 22, 2014, 3:48 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks, kdelibs and Frank Reininghaus.


Bugs: 235457
    https://bugs.kde.org/show_bug.cgi?id=235457


Repository: kio


Description
-------

My attempt at fixing [bug 235457](https://bugs.kde.org/show_bug.cgi?id=235457)
We give .directory the default Type 'Directory' and a way for KDesktopFileActions to handle .directory files.
To do that we trick KRun in opening the file as plain text.

hasDirectoryType is a new method in KConfig. see: [119868](https://git.reviewboard.kde.org/r/119868/) 
Anything I should look out for when commiting this to KConfig and KIO?


Diffs
-----

  src/widgets/kdesktopfileactions.cpp 9486015 

Diff: https://git.reviewboard.kde.org/r/119869/diff/


Testing
-------

Configure a folder with a custom icon in dolphin. Click the created .directory file.


Thanks,

Maarten De Meyer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140822/3ac9c946/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list