Bugfix for timeout to 10 minutes. Set it to 10s earlier

This commit is contained in:
Abhay Rana 2013-11-30 17:23:03 +05:30
parent 2401b73315
commit 6ac71fe792
3 changed files with 3 additions and 5 deletions

View File

@ -115,7 +115,7 @@ class HackerNewsApp:
self.addItem(i)
#Call every 5 minutes
if no_timer==False:
gtk.timeout_add(10*1000, self.refresh)
gtk.timeout_add(10*60*1000, self.refresh)
def main():
indicator = HackerNewsApp()

View File

@ -20,6 +20,4 @@ class HackerNews:
try:
return r.json()
except ValueError:
continue;
finally:
print i
continue;

View File

@ -1,7 +1,7 @@
from setuptools import setup
setup(name='hackertray',
version='1.8',
version='1.8.1',
description='Hacker News app that sits in your System Tray',
long_description='HackerTray is a simple Hacker News Linux application that lets you view top HN stories in your System Tray. It relies on appindicator, so it is not guaranteed to work on all systems. It also provides a Gtk StatusIcon fallback in case AppIndicator is not available.',
keywords='hacker news hn tray system tray icon hackertray',