Patch by yrannadx from http://talk.maemo.org/showpost.php?p=1276768&postcount=507
authorPali Rohár <pali.rohar@gmail.com>
Thu, 1 Nov 2012 16:25:24 +0000 (17:25 +0100)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 1 Nov 2012 16:25:24 +0000 (17:25 +0100)
* This patch fixing sms bug (sms notification was always visible)

src/usr/lib/hildon-desktop/CallNotify.py

index 84c3764..65d60f3 100644 (file)
@@ -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):