From: Pali Rohár Date: Thu, 1 Nov 2012 16:25:24 +0000 (+0100) Subject: Patch by yrannadx from http://talk.maemo.org/showpost.php?p=1276768&postcount=507 X-Git-Url: https://vcs.maemo.org/git/?p=callnotify;a=commitdiff_plain;h=2f77fd8f7711b545b8da597445b013fe7ef18bf4 Patch by yrannadx from talk.maemo.org/showpost.php?p=1276768&postcount=507 * This patch fixing sms bug (sms notification was always visible) --- diff --git a/src/usr/lib/hildon-desktop/CallNotify.py b/src/usr/lib/hildon-desktop/CallNotify.py index 84c3764..65d60f3 100644 --- a/src/usr/lib/hildon-desktop/CallNotify.py +++ b/src/usr/lib/hildon-desktop/CallNotify.py @@ -93,7 +93,6 @@ class CallNotify(hildondesktop.StatusMenuItem): # add d-bus listener for removing notification after viewing missed call # Doing timeout_add with return False instead of explicitly raising a thread gobject.timeout_add(500, self.startDbusListeners) - gobject.timeout_add(100, self.handleMissed) self.dbg('constructor end') @@ -210,7 +209,7 @@ class CallNotify(hildondesktop.StatusMenuItem): def newEvent(self, a, b, c, d, e, f): self.dbg('newEvent started') # On NewEvent the notifications.db is not immediately filled, thus check the event after one minute waiting - self.tmr_main = gobject.timeout_add(20000, self.handleMissed) + self.tmr_main = gobject.timeout_add(60000, self.handleMissed) return True def notificationClosed(self, a):