From 37d7b33ae2e034486f762fbf9144699edc4f5c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 12 Aug 2011 21:03:44 +0100 Subject: 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 --- src/indicator-power.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3