diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-05-25 16:00:56 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-05-25 16:00:56 -0500 |
commit | 73d31da1baed181dee9cead8a710444f4a4363a6 (patch) | |
tree | 465d7b62b31432cf45ea7e100450c4afa907eeeb | |
parent | ce8268447f48ba8d8bff99d8ac402be7bb9c01d5 (diff) | |
download | ayatana-indicator-power-73d31da1baed181dee9cead8a710444f4a4363a6.tar.gz ayatana-indicator-power-73d31da1baed181dee9cead8a710444f4a4363a6.tar.bz2 ayatana-indicator-power-73d31da1baed181dee9cead8a710444f4a4363a6.zip |
fix negated logic in menu_add_device() introduced in r160
-rw-r--r-- | src/indicator-power.c | 2 |
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; |