diff options
author | Guido van Rossum <guido@python.org> | 1996-05-28 23:10:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-28 23:10:30 (GMT) |
commit | 51b708ab61b73bf16eecf98cbe5c7b3f5adfc1fd (patch) | |
tree | a3c8b6abb268fd09ec3a2eba81746a078243fd6e /Lib | |
parent | 5feb54c461e51d0dd1120a84001bc5a516f8d002 (diff) | |
download | cpython-51b708ab61b73bf16eecf98cbe5c7b3f5adfc1fd.zip cpython-51b708ab61b73bf16eecf98cbe5c7b3f5adfc1fd.tar.gz cpython-51b708ab61b73bf16eecf98cbe5c7b3f5adfc1fd.tar.bz2 |
don't export selection
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/lib-tk/FileDialog.py | 4 | ||||
-rwxr-xr-x | Lib/tkinter/FileDialog.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib-tk/FileDialog.py b/Lib/lib-tk/FileDialog.py index a2e56ea..4bb74b7 100644 --- a/Lib/lib-tk/FileDialog.py +++ b/Lib/lib-tk/FileDialog.py @@ -48,11 +48,11 @@ class FileDialog: self.filter.bind('<Return>', self.filter_command) self.midframe = Frame(self.top) self.midframe.pack(expand=YES, fill=BOTH) - self.dirs = Listbox(self.midframe) + self.dirs = Listbox(self.midframe, exportselection=0) self.dirs.pack(side=LEFT, expand=YES, fill=BOTH) self.dirs.bind('<ButtonRelease-1>', self.dirs_select_event) self.dirs.bind('<Double-ButtonRelease-1>', self.dirs_double_event) - self.files = Listbox(self.midframe) + self.files = Listbox(self.midframe, exportselection=0) self.files.pack(side=RIGHT, expand=YES, fill=BOTH) self.files.bind('<ButtonRelease-1>', self.files_select_event) self.files.bind('<Double-ButtonRelease-1>', self.files_double_event) diff --git a/Lib/tkinter/FileDialog.py b/Lib/tkinter/FileDialog.py index a2e56ea..4bb74b7 100755 --- a/Lib/tkinter/FileDialog.py +++ b/Lib/tkinter/FileDialog.py @@ -48,11 +48,11 @@ class FileDialog: self.filter.bind('<Return>', self.filter_command) self.midframe = Frame(self.top) self.midframe.pack(expand=YES, fill=BOTH) - self.dirs = Listbox(self.midframe) + self.dirs = Listbox(self.midframe, exportselection=0) self.dirs.pack(side=LEFT, expand=YES, fill=BOTH) self.dirs.bind('<ButtonRelease-1>', self.dirs_select_event) self.dirs.bind('<Double-ButtonRelease-1>', self.dirs_double_event) - self.files = Listbox(self.midframe) + self.files = Listbox(self.midframe, exportselection=0) self.files.pack(side=RIGHT, expand=YES, fill=BOTH) self.files.bind('<ButtonRelease-1>', self.files_select_event) self.files.bind('<Double-ButtonRelease-1>', self.files_double_event) |