Review Request: Enable kdialog to set an icon for passivepopup as well

Kai Uwe Broulik kde at privat.broulik.de
Fri May 6 13:15:49 BST 2011


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

(Updated May 6, 2011, 12:15 p.m.)


Review request for KDE Base Apps.


Changes
-------

Changed icon argument parsing to const ref.
Added icon support for fallback KPassivePopup using KIconLauncher.
Could not test fallback, though, since nothing happens when I close plasma-desktop. It used to display the KPassivePopup then. Neither with 4.6, nor trunk, nor my patch it does anything.
Plasma passive notification works fine.


Summary
-------

Since I use kdialog a lot, I wanted it to be able to set an icon for passive Plasma notifications as well.
I saw that the icon was hardcoded to dialog-information and tried to enable it to parse the --icon command line argument and pass it to the dbus call that triggers the notification.
I could not test the patch however, since I do not (yet) have a full development environment or its dependencies, and I do not even know if this is the right approach, but I hope you can have a look at it.


Diffs (updated)
-----

  kdialog/kdialog.cpp b80ad9a 

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


Testing
-------


Thanks,

Kai Uwe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110506/8d2132c1/attachment.htm>


More information about the kde-core-devel mailing list