From 1a085fe68c8d177d513c4a4775cce6fa8fb1b827 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Thu, 20 Jun 2013 14:32:21 +0100 Subject: [PATCH] power: remove the primary battery from the battery label size group The primary battery box has a different layout from other battery items and therefore shouldn't be included in the same size group. Including it in the size group was causing the other items to be resized when the battery status changed. https://bugzilla.gnome.org/show_bug.cgi?id=702098 --- panels/power/cc-power-panel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c index c5c1e6b49..e615fa2bc 100644 --- a/panels/power/cc-power-panel.c +++ b/panels/power/cc-power-panel.c @@ -335,7 +335,6 @@ set_primary (CcPowerPanel *panel, UpDevice *device) details = get_details_string (percentage, state, time); box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - gtk_size_group_add_widget (priv->battery_sizegroup, box); gtk_widget_set_margin_left (box, 20); gtk_widget_set_margin_right (box, 20); gtk_widget_set_margin_top (box, 6);