D10363: [KIO] Add support for XDG_TEMPLATES_DIR in KNewFileMenu

Marijo Mustac noreply at phabricator.kde.org
Wed Feb 7 14:27:19 UTC 2018


mmustac created this revision.
mmustac added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.
mmustac requested review of this revision.

REVISION SUMMARY
  This patch adds the support for templates in the XDG_TEMPLATES_DIR location which points in default to:
  [en] /home/user/templates
  [de] /home/user/Vorlagen
  As is all templates have to be a .desktop file maybe a second patch will follow changing this but it seems to be tricky without breaking something.
  This is a first step in resolving bug: #191632

TEST PLAN
  Add new valid .desktop file to your template folder -> shows up in the menu

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D10363

AFFECTED FILES
  src/filewidgets/knewfilemenu.cpp

To: mmustac, #frameworks
Cc: michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180207/420e2670/attachment.html>


More information about the Kde-frameworks-devel mailing list