projects
/
watersofshiloah
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improving seekbar behavior / fixing a bug
[watersofshiloah]
/
src
/
util
/
go_utils.py
diff --git
a/src/util/go_utils.py
b/src/util/go_utils.py
index
515041d
..
ccfc78a
100644
(file)
--- a/
src/util/go_utils.py
+++ b/
src/util/go_utils.py
@@
-110,9
+110,9
@@
class Timeout(object):
assert 0 <= timeoutInSeconds
if timeoutInSeconds == 0:
assert 0 <= timeoutInSeconds
if timeoutInSeconds == 0:
- self.__timeoutId = gobject.idle_add(self._on_once)
+ self.__timeoutId = gobject.idle_add(callback)
else:
else:
- self.__timeoutId = timeout_add_seconds(timeoutInSeconds, self._on_once)
+ self.__timeoutId = timeout_add_seconds(timeoutInSeconds, callback)
def is_running(self):
return self.__timeoutId is not None
def is_running(self):
return self.__timeoutId is not None