aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-09-12 14:13:18 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-09-12 14:13:18 +0100
commit0c0a7b00f9e808a2038569d125c20c51d4a18802 (patch)
tree1eb624c3dd1c94ff733425251fad0f461d9dda1f
parent49ac0f5b5d346cb2851526bc36b7faa63561c7e5 (diff)
downloadayatana-indicator-power-0c0a7b00f9e808a2038569d125c20c51d4a18802.tar.gz
ayatana-indicator-power-0c0a7b00f9e808a2038569d125c20c51d4a18802.tar.bz2
ayatana-indicator-power-0c0a7b00f9e808a2038569d125c20c51d4a18802.zip
Fix a gap in the indicators region when the power indicator is not show
This fixes https://bugs.launchpad.net/indicator-power/+bug/842188
-rw-r--r--src/indicator-power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 28a8f17..db10f2c 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -839,6 +839,7 @@ get_label (IndicatorObject *io)
{
/* Create the label if it doesn't exist already */
priv->label = GTK_LABEL (gtk_label_new (""));
+ gtk_widget_set_visible (GTK_WIDGET (priv->label), FALSE);
}
return priv->label;