diff options
author | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-17 03:12:26 +0000 |
---|---|---|
committer | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-17 03:12:26 +0000 |
commit | a5f9812abfd2a719df51294f7afa9754e928b272 (patch) | |
tree | 33db2a6da266ce5697868876780188d8cb236b50 | |
parent | 69ab940a10e18c48ee7b65f896616420c9e4bcb0 (diff) | |
download | deluge-a5f9812abfd2a719df51294f7afa9754e928b272.tar.gz deluge-a5f9812abfd2a719df51294f7afa9754e928b272.tar.bz2 deluge-a5f9812abfd2a719df51294f7afa9754e928b272.zip |
make torrentfile pref field insensitive when on win32 to avoid confusing windows users
-rw-r--r-- | plugins/TorrentFiles/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
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() |