aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-08-12 21:03:44 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-08-12 21:03:44 +0100
commit37d7b33ae2e034486f762fbf9144699edc4f5c15 (patch)
tree16f7e17dd7ae2f4c76469ae6b6c9e4670b98243b
parentd88054a3a754778ea8221fe9187eea2bab21ac7b (diff)
downloadayatana-indicator-power-37d7b33ae2e034486f762fbf9144699edc4f5c15.tar.gz
ayatana-indicator-power-37d7b33ae2e034486f762fbf9144699edc4f5c15.tar.bz2
ayatana-indicator-power-37d7b33ae2e034486f762fbf9144699edc4f5c15.zip
Do not show the default icon by default
Show the icon can cause problems in machines with no power devices as the icon will not be updated
-rw-r--r--src/indicator-power.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 62cdb44..5fada6b 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -793,7 +793,6 @@ get_image (IndicatorObject *io)
gicon = g_themed_icon_new (DEFAULT_ICON);
priv->status_image = GTK_IMAGE (gtk_image_new_from_gicon (gicon,
GTK_ICON_SIZE_LARGE_TOOLBAR));
- gtk_widget_show (GTK_WIDGET (priv->status_image));
}
return priv->status_image;