diff options
author | Simon Schampijer <simon@laptop.org> | 2012-09-19 13:32:08 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2012-09-19 13:32:08 (GMT) |
commit | 9f76608b744ebf4f831f87793785d20a47305d24 (patch) | |
tree | 1c2f929bab82a32b32e86162291617f0f2670bf3 /extensions | |
parent | de294b8e58c98832165d0757d8f62b6ab6b47462 (diff) |
Control Panel: fix the Power section
pack_start: we have to pass all arguments now with the dynamic bindings
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel QuiƱones <manuq@laptop.org>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/cpsection/power/view.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/cpsection/power/view.py b/extensions/cpsection/power/view.py index 715768f..f84885d 100644 --- a/extensions/cpsection/power/view.py +++ b/extensions/cpsection/power/view.py @@ -68,10 +68,12 @@ class Power(SectionView): label_automatic_pm_error = Gtk.Label() group.add_widget(label_automatic_pm_error) self._automatic_pm_alert_box.pack_start(label_automatic_pm_error, - expand=False) + expand=False, fill=True, + padding=0) label_automatic_pm_error.show() self._automatic_pm_alert_box.pack_start(self._automatic_pm_alert, - expand=False) + expand=False, fill=True, + padding=0) box_pm.pack_end(self._automatic_pm_alert_box, False, True, 0) self._automatic_pm_alert_box.show() if 'automatic_pm' in self.restart_alerts: |