Otherwise there will be a JS exception in the binding causing the battery percentage
to be shown on the screenlocker unconditionally leading to a "0% remaining" on a desktop PC
Use Animator for the animation to reduce CPU load and hardcode the animation duration to
a pleasant pace. Also remove obsolete non-smooth scaling and don't start when animations
are disabled in the first place.
REVIEW: 123337
It should be more to emphasise the urgency of the "we'll suspend in 1 minute" threat
rather than waste power needlessly.
Ideally it would take the "critical percentage" from PowerDevil
(cherry picked from commit 77626c1e3b)
It should be more to emphasise the urgency of the "we'll suspend in 1 minute" threat
rather than waste power needlessly.
Ideally it would take the "critical percentage" from PowerDevil
Use own copy of org.kde.JobView interface file to make it possible to
extend the interface without breaking build.
This also fixes 2 cases where error/errorText would be incorrect in
applicationsjob dataengine.
REVIEW: 123046
Even though the specification makes it perfectly clear that you should
query the notification server and only use supported hints, gnome and
libnotify does not.
Given the specification has changed in a non-compatiable way, this
causes image-data/image-path to break.
This patch supports 1.2 fields
Submitted by: Konstantin
BUG: 344885
Reviewed-by: David Edmundson
KSMSERVER_STARTUP_DEBUGl is not defined, meaning this code currently
exists in our ksmserver.
if you have 2 instances of gedit, konqueror and kspaceduel open you get
an error message saying drat. I'm not sure why.
This feature is now obsoleted as kspaceduel doesn't exist any more.
REVIEW: 123283
It is not meant to be shown in widget explorer. It is not being shown
when english language is used because
i18n("Containments") == "Containments"
but in other languages for example x-test
i18n("Containments") == "xxContainmentsxx" and hence this condition
doesn't pass and it shows up in UI
Rather than going through the device type enum in reverse where Battery comes second to last
hardcode the order of the device types. Otherwise a device that is both a storage device and
a battery (a phone) will show up as "Battery".
REVIEW: 123256
The popup opening by itself is attention enough; more importantly that status never
seems to be unset properly (States anyone?) causing the icon to blink, and eating CPU
indefinitely