From cc77df82166fb875b4f3663acda0310cbc15f2c2 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 17 Oct 2007 03:12:26 +0000 Subject: [PATCH] make torrentfile pref field insensitive when on win32 to avoid confusing windows users --- plugins/TorrentFiles/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/TorrentFiles/__init__.py b/plugins/TorrentFiles/__init__.py index 99050d45a..6176393bf 100644 --- a/plugins/TorrentFiles/__init__.py +++ b/plugins/TorrentFiles/__init__.py @@ -110,6 +110,8 @@ class TorrentFiles: def configure(self, window): self.glade.get_widget("file_viewer").\ set_text(self.config.get("file_viewer")) + if deluge.common.windows_check(): + self.glade.get_widget("file_viewer").set_sensitive(False) self.dialog.set_transient_for(window) self.dialog.show()