diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-19 09:43:11 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-19 09:43:11 -0500 |
commit | dec4af40c78f85b36b995f69da66f30d07270852 (patch) | |
tree | c87a6d77fb5ef4f2d645418f8e39459281412884 /src | |
parent | eeb91e4b337a67c1656751942905129033c5a885 (diff) | |
download | ayatana-indicator-power-dec4af40c78f85b36b995f69da66f30d07270852.tar.gz ayatana-indicator-power-dec4af40c78f85b36b995f69da66f30d07270852.tar.bz2 ayatana-indicator-power-dec4af40c78f85b36b995f69da66f30d07270852.zip |
lower the interval on the upower timer to make our updates more responsive
Diffstat (limited to 'src')
-rw-r--r-- | src/device-provider-upower.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device-provider-upower.c b/src/device-provider-upower.c index 7cc8858..6dd5029 100644 --- a/src/device-provider-upower.c +++ b/src/device-provider-upower.c @@ -89,7 +89,7 @@ static void emit_devices_changed_soon (IndicatorPowerDeviceProviderUPower * self) { if (self->priv->timer == 0) - self->priv->timer = g_timeout_add_seconds (1, on_timer, self); + self->priv->timer = g_timeout_add (333, on_timer, self); } /*** |