diff --git a/plugins/TorrentFiles/tab_files.py b/plugins/TorrentFiles/tab_files.py index 68a7db4bf..46c4ab301 100644 --- a/plugins/TorrentFiles/tab_files.py +++ b/plugins/TorrentFiles/tab_files.py @@ -36,7 +36,7 @@ import gobject import gtk from deluge.files import FilesBaseManager -from deluge import dgtk +from deluge import dgtk, dialogs class FilesTabManager(FilesBaseManager): def __init__(self, file_view, manager): @@ -98,7 +98,12 @@ class FilesTabManager(FilesBaseManager): try: os.startfile(os.path.join(save_dir, file_name)) except WindowsError: - pass + import gtk + import dialogs + gtk.gdk.threads_enter() + result = dialogs.show_popup_warning(None, _("There is a \ +newer version of Deluge. Would you like to be taken to our download site?")) + gtk.gdk.threads_leave() else: exec_command(self.file_viewer, os.path.join(save_dir, file_name))