Review Request 121507: Add "silent" parameter to PM dataengine brightness jobs
Kai Uwe Broulik
kde at privat.broulik.de
Mon Dec 22 15:02:56 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121507/
-----------------------------------------------------------
(Updated Dec. 22, 2014, 3:02 p.m.)
Status
------
This change has been marked as submitted.
Review request for Plasma.
Repository: plasma-workspace
Description
-------
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/20141222/037fbabc/attachment.html>
More information about the Plasma-devel
mailing list