mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fix displaying new release dialog in Windows
This commit is contained in:
parent
ed00536468
commit
623c5ab57b
1 changed files with 3 additions and 2 deletions
|
@ -238,8 +238,9 @@ class MainWindow(component.Component):
|
|||
|
||||
def on_newversionavailable_event(self, new_version):
|
||||
if self.config["show_new_releases"]:
|
||||
from twisted.internet import reactor
|
||||
from deluge.ui.gtkui.new_release_dialog import NewReleaseDialog
|
||||
NewReleaseDialog().show(new_version)
|
||||
reactor.callLater(5.0, NewReleaseDialog().show, new_version)
|
||||
|
||||
def on_torrentfinished_event(self, torrent_id):
|
||||
from deluge.ui.gtkui.notification import Notification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue