summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 2bce73db..7b3bcb62 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1398,6 +1398,11 @@ class Core(object):
self.focus_tab_named(roster_row.get_jid().full)
self.refresh_window()
+ def remove_timed_event(self, event):
+ if event and event in self.timed_events:
+ log.debug('removing event')
+ self.timed_events.remove(event)
+
def add_timed_event(self, event):
self.timed_events.add(event)