make torrentfile pref field insensitive when on win32 to avoid confusing windows users

This commit is contained in:
Marcos Pinto 2007-10-17 03:12:26 +00:00
parent 5fb1987b1b
commit cc77df8216

View File

@ -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()