-
Committer:
Teddy Hogeborn
-
Date:
2012-05-12 15:45:57 UTC
-
Revision ID:
teddy@recompile.se-20120512154557-r1yzcb8su8byp4us
* mandos (Client.enable, Client.disable, ClientDBus.approve): Call
self.send_changedstate() after change, not before.
(Client.disable): Bug fix: Handle disable_initiator_tag and
checker_initiator_tag of 0.
(Client.init_checker): Bug fix: Remove old checker_initiator_tag and
disable_initiator_tag, if any.
(Client.bump_timeout): Bug fix: Remove old disable_initiator_tag, if
any.
(ClientDBus.Timeout_dbus_property): Bug fix: Use self.expires.
(ClientHandler.handle): Bug fix: timedelta_to_milliseconds is a
global function, not a class method.
* mandos-monitor (MandosClientWidget._update_timer_callback_lock):
Removed. All users changed.
(MandosClientWidget.last_checked_ok): Removed (unused).
(MandosClientWidget.__init__): Don't call self.using_timer().
(MandosClientWidget.property_changed): Removed unused version.
(MandosClientWidget.using_timer): Stop using the counter
self._update_timer_callback_lock;
be strictly boolean.
(MandosClientWidget.need_approval): Don't call self.using_timer().
(MandosClientWidget.update): Call self.using_timer() throughout.
Bug fix: Never show negative timers.