aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-25 00:05:04 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-25 00:05:04 -0500
commiteaf64b2f5d9561b4e113330d24d17c01dfbc92f0 (patch)
treebc79455bb07f55a6a80d5c28c50a7bcf5fa38336 /src
parent35a251324cc5256c459ff4287855cd510b30a026 (diff)
downloadayatana-indicator-power-eaf64b2f5d9561b4e113330d24d17c01dfbc92f0.tar.gz
ayatana-indicator-power-eaf64b2f5d9561b4e113330d24d17c01dfbc92f0.tar.bz2
ayatana-indicator-power-eaf64b2f5d9561b4e113330d24d17c01dfbc92f0.zip
fix bug introduced in previous commit
Diffstat (limited to 'src')
-rw-r--r--src/notifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 6557246..52d8854 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -234,6 +234,7 @@ on_battery_property_changed (IndicatorPowerNotifier * self)
}
dbus_battery_set_power_level (p->dbus_battery, power_level_to_dbus_string (new_power_level));
+ p->power_level = new_power_level;
p->discharging = new_discharging;
}