Review Request 119869: KIO: Correctly handle .directory files

Maarten De Meyer de.meyer.maarten at gmail.com
Wed Aug 20 23:35:24 BST 2014


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

(Updated Aug. 20, 2014, 10:35 p.m.)


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 
  src/widgets/kpropertiesdialog.cpp 346cbe8 

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-core-devel/attachments/20140820/e82cb5e0/attachment.htm>


More information about the kde-core-devel mailing list