Handles manual refresh for chrome
This commit is contained in:
parent
83b5c48bd2
commit
6b52720efd
|
@ -77,7 +77,7 @@ class HackerNewsApp:
|
||||||
btnRefresh = gtk.MenuItem("Refresh")
|
btnRefresh = gtk.MenuItem("Refresh")
|
||||||
btnRefresh.show()
|
btnRefresh.show()
|
||||||
#the last parameter is for not running the timer
|
#the last parameter is for not running the timer
|
||||||
btnRefresh.connect("activate", self.refresh, True)
|
btnRefresh.connect("activate", self.refresh, True, args.chrome)
|
||||||
self.menu.append(btnRefresh)
|
self.menu.append(btnRefresh)
|
||||||
|
|
||||||
btnQuit = gtk.MenuItem("Quit")
|
btnQuit = gtk.MenuItem("Quit")
|
||||||
|
|
Loading…
Reference in New Issue