We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 308b268 commit a0cb3fbCopy full SHA for a0cb3fb
furikura/indicator.py
@@ -79,8 +79,8 @@ def update_appindicator(self, reddit_data):
79
self.set_karma(reddit_data['link_karma'], reddit_data['comment_karma'])
80
self.local_data = reddit_data
81
82
- def run_background(self, interval):
83
- timeout = 10000 #interval * 60 * 1000
+ def run_background(self, interval=1):
+ timeout = interval * 60 * 1000
84
self.services['timeout'] = GObject.timeout_add(timeout, self.update_reddit_data)
85
86
def set_refresh_interval(self, widget):
0 commit comments