Review Request: KSNI: fix IconThemePath support

Harald Sitter sitter at kde.org
Thu Dec 13 14:19:50 UTC 2012


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

Review request for Plasma.


Description
-------

Also see https://git.reviewboard.kde.org/r/107703/


KSNI: fix IconThemePath support

IconThemePath is used by a Canonical Patch to enable all Qt apps using
QSystemTrayIcon to transparently provide a SNI with icons exported into
a temporary path. Hence the lack of support breaks icons for all Qt apps
on Ubuntu.

Fix:
- in the dataengine export IconThemePath
- in the systray protocol pick up the value and forward to QML
- in QML set the themePath accordingly on the IconItem
  (requires changes in runtime)

https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1088772
BUG: 311555
CCMAIL: 1088772 at bugs.launchpad.net


This addresses bug 311555.
    http://bugs.kde.org/show_bug.cgi?id=311555


Diffs
-----

  plasma/generic/applets/systemtray/package/contents/ui/StatusNotifierItem.qml d286c2d727b53febb704d01371974fcfcc0dd10f 
  plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraytask.h 127b301fee5357f4080e0ca9fc867df8af746146 
  plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraytask.cpp 63642727630d721fa10151507004eba516715507 
  plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp 61d85f83e250eb3922a7d8a9efad106725fbca99 

Diff: http://git.reviewboard.kde.org/r/107702/diff/


Testing
-------

regular KSNI: works (juk, kmix, klipper..)
QSTI providing SNI via sni-qt: works (mumble)
QSTI using xembed: works (mumble)


Thanks,

Harald Sitter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121213/f5ab6a41/attachment.html>


More information about the Plasma-devel mailing list