projects
/
callnotify
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.0.6
[callnotify]
/
src
/
usr
/
lib
/
hildon-desktop
/
CallNotify.py
diff --git
a/src/usr/lib/hildon-desktop/CallNotify.py
b/src/usr/lib/hildon-desktop/CallNotify.py
index
6ebbabc
..
4fda0ab
100644
(file)
--- a/
src/usr/lib/hildon-desktop/CallNotify.py
+++ b/
src/usr/lib/hildon-desktop/CallNotify.py
@@
-46,8
+46,8
@@
class CallNotify(hildondesktop.StatusMenuItem):
#atexit.register(self.cleanup)
# add GUI buttons
#atexit.register(self.cleanup)
# add GUI buttons
- self.addGUI()
- dbg('constructor end')
+ # self.addGUI()
+ self.dbg('constructor end')
def addGUI(self):
# add GUI buttons
def addGUI(self):
# add GUI buttons
@@
-339,9
+339,11
@@
class CallNotify(hildondesktop.StatusMenuItem):
def show(self):
self.dbg('show started')
# blink the icon every 1 second
def show(self):
self.dbg('show started')
# blink the icon every 1 second
- if not(self.stop) and self.visual:
+ if not(self.stop):
+ self.readConfigurationFile()
self.stop = True
self.stop = True
- self.tmr_ptr = gobject.timeout_add(1000, self.blinkIcon)
+ if self.visual:
+ self.tmr_ptr = gobject.timeout_add(1000, self.blinkIcon)
self.tmr_ptr2 = gobject.timeout_add(int(self.interval*1000*60), self.playSound)
def blinkIcon(self):
self.tmr_ptr2 = gobject.timeout_add(int(self.interval*1000*60), self.playSound)
def blinkIcon(self):