6 Commits

Author SHA1 Message Date
cbcb0e2ce4 Show status when battery query fails.
When there is an issue with getting battery details, panel would not
show any icon nor tooltip to mark that status. This changes adds failing
icon and appropriate tooltip message.
2016-07-13 16:07:02 +02:00
ca5911fe94 Use flat box so redraw() can update changed image correctly. 2013-06-03 21:47:26 +00:00
05f7fc15e1 Inside battery applet, do not load icon on every change event by device. Instead, check if we really need to change icon (e.g. states between 'battery' and 'battery-caution' are changed) then load it.
A small formatting inside Panle and AppletManager.
2013-06-03 17:39:50 +00:00
a2a6f6034d Removed some test code. 2013-06-03 11:11:57 +00:00
d30685514c In case DBus wasn't available, do not compile DBus related code. 2013-06-03 11:11:07 +00:00
85490945e6 Importing UPower powered battery monitor. 2013-06-03 11:01:38 +00:00