[Differential] [Request, 4 lines] D4606: don't show 0% when no battery
Marco Martin
noreply at phabricator.kde.org
Tue Feb 14 12:58:07 UTC 2017
mart created this revision.
mart added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
if there is no battery don't show 0%, but a - on
the badge. still show the badge to show the option is not broken,
but don't show a weird 0% of a non existing battery
TEST PLAN
works on both systems with or without battery
REPOSITORY
R120 Plasma Workspace
BRANCH
phab/batterybadge
REVISION DETAIL
https://phabricator.kde.org/D4606
AFFECTED FILES
applets/batterymonitor/package/contents/ui/BadgeOverlay.qml
applets/batterymonitor/package/contents/ui/CompactRepresentation.qml
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: mart, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170214/603b2c91/attachment.html>
More information about the Plasma-devel
mailing list