--- src/view/devices/battery.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/view/devices/battery.py b/src/view/devices/battery.py index a97d014..e4d82d3 100644 --- a/src/view/devices/battery.py +++ b/src/view/devices/battery.py @@ -84,6 +84,8 @@ class BatteryPalette(Palette): self._level = 0 self._progress_bar = gtk.ProgressBar() + self._progress_bar.set_size_request( + style.zoom(style.GRID_CELL_SIZE * 4), -1) self._progress_bar.show() self._status_label = gtk.Label() self._status_label.show() @@ -120,7 +122,6 @@ class BatteryPalette(Palette): 'min': remaining_minpart}) else: secondary_text = _('Charged') - status_text = '' self.props.secondary_text = secondary_text self._status_label.set_text(status_text) -- 1.5.4.1 _______________________________________________ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar