Review Request 121507: Add "silent" parameter to PM dataengine brightness jobs
Kai Uwe Broulik
kde at privat.broulik.de
Sun Dec 14 13:05:02 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121507/
-----------------------------------------------------------
(Updated Dez. 14, 2014, 1:05 nachm.)
Review request for Plasma.
Repository: plasma-workspace
Description (updated)
-------
This adds a "silent" argument to the setBrightness jobs in the PM dataengine allowing the caller to suppress the OSD. I will use this in the battery monitor to not show the OSD when the user is actively dragging the slider since confirming an action he/she just did is redundant. It will show it when mouse wheeling the icon, however, to provide feedback there.
Diffs
-----
dataengines/powermanagement/powermanagementjob.h 8dd1731
dataengines/powermanagement/powermanagementjob.cpp 24ef2db
dataengines/powermanagement/powermanagementservice.operations c9abbf9
Diff: https://git.reviewboard.kde.org/r/121507/diff/
Testing
-------
Works as expected. Also it seems to be backwards compatible so clients not explicitly setting the "silent" property won't break but just default to false.
Thanks,
Kai Uwe Broulik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20141214/ca032aea/attachment.html>
More information about the Plasma-devel
mailing list