D17167: Provide a method of assigning custom default icons for non-XDG dirs

Nathaniel Graham noreply at phabricator.kde.org
Mon Nov 26 04:18:16 GMT 2018


ngraham created this revision.
ngraham added reviewers: Frameworks, cfeck, broulik.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
ngraham requested review of this revision.

REVISION SUMMARY
  This patch adds a new folder-to-icon map that makes it possible to assign default icons for non-XDG directories. It is pre-populated with `~/Games`, as requested in 401218.
  
  The new map includes entries for the localized and non-located string, because some people like to use English names even with a different locale.
  
  BUG: 401218
  FIXED-IN: 5.53

TEST PLAN
  - Created `~/Games`; it got the new `folder-games` icon
  - Created a new user account and checked out its homedir; all XDG dirs continued to get the correct icon

REPOSITORY
  R241 KIO

BRANCH
  custom-icons-for-non-xdg-dirs (branched from master)

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

AFFECTED FILES
  src/core/kioglobal_p.cpp

To: ngraham, #frameworks, cfeck, broulik
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181126/f5a56e09/attachment.html>


More information about the Kde-frameworks-devel mailing list