From 552af8aa56b1478f51b105652fa7462b09cb2259 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 29 Mar 2007 11:48:35 -0400 Subject: [PATCH] Fix deprecation warning --- shell/view/pulsingicon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/view/pulsingicon.py b/shell/view/pulsingicon.py index d2e41f78..4b2fcd0d 100644 --- a/shell/view/pulsingicon.py +++ b/shell/view/pulsingicon.py @@ -73,7 +73,7 @@ class PulsingIcon(CanvasIcon): def _start(self): if self._pulse_sid == 0: self._pulse_sid = gobject.timeout_add( - self._pulse_time * 1000, self._pulse_timeout) + int(self._pulse_time * 1000), self._pulse_timeout) def _stop(self): if self._pulse_sid: