Review Request 125657: Theme breeze icons from system theme when loaded trough IconItem

Marco Martin notmart at gmail.com
Tue Oct 20 09:49:31 UTC 2015


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

(Updated Oct. 20, 2015, 9:49 a.m.)


Status
------

This change has been marked as submitted.


Review request for Plasma.


Changes
-------

Submitted with commit c1065ccf399877c0738ab50a110e35b12a34c390 by Marco Martin to branch master.


Repository: plasma-framework


Description
-------

This makes IconItem try to load global icons from the theme with Plasma::Svg as well, making it assign the colors from the stylesheet if the breeze monochrome icons are treated, that should be scriptable, from some attempts i did the script seems to convert them correctly, without any change in rendering.

This will automatically color monochrome breeze icons only in plasmashell, and more specifically only those that use IconItem, not QIconItem (iconitem should probably have an animation-less mode to be able to be used in taskmanager and stuff)
perhaps in the future we'll be able somehow to hook all this stuff in QIconEngine to be able to use it in QWidget applications, but since QIcon does have any idea where it is, is not usable yet for things like the fullscreen fixed-dark gwenview view.


Diffs
-----

  src/declarativeimports/core/iconitem.h 3ef0306 
  src/declarativeimports/core/iconitem.cpp 692cd8d 
  src/plasma/private/svg_p.h ab91c42 
  src/plasma/svg.h 3ad21ce 
  src/plasma/svg.cpp 37ced22 

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


Testing
-------


Thanks,

Marco Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151020/0c340601/attachment-0001.html>


More information about the Plasma-devel mailing list