aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indicator-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index 59f884a..768504d 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -541,7 +541,7 @@ menu_add_device (GtkMenu * menu, const IndicatorPowerDevice * device)
gboolean added = FALSE;
const UpDeviceKind kind = indicator_power_device_get_kind (device);
- if (kind == UP_DEVICE_KIND_LINE_POWER)
+ if (kind != UP_DEVICE_KIND_LINE_POWER)
{
GtkWidget *icon;
GtkWidget *item;