Fixed buttons by handling clicked instead of activate
This commit is contained in:
parent
55546a9a5e
commit
ed223ad860
2 changed files with 3 additions and 5 deletions
|
@ -69,12 +69,10 @@ class MyTwitter():
|
|||
|
||||
# Timer to update periodically
|
||||
self.update_window()
|
||||
gobject.timeout_add(self.refresh_time * 100, self.update_window)
|
||||
gobject.timeout_add(self.refresh_time * 1000, self.update_window)
|
||||
|
||||
|
||||
def update_window(self):
|
||||
print "debug: update_window()"
|
||||
|
||||
timezone = dateutil.tz.gettz()
|
||||
time_format = "%Y.%m.%d %H:%M:%S %Z"
|
||||
|
||||
|
|
Reference in a new issue