aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog8
-rw-r--r--src/indicator-power.c1
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 39320e3..5ea1d36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+indicator-power (0.6-0ubuntu2) oneiric; urgency=low
+
+ * src/indicator-power.c
+ - cherry pick fix to prevent it from showing the icon on devices that
+ have no battery
+
+ -- Ken VanDine <ken.vandine@canonical.com> Fri, 12 Aug 2011 16:17:51 -0400
+
indicator-power (0.6-0ubuntu1) oneiric; urgency=low
* New upstream release.
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;