From: Guido van Rossum Date: Tue, 28 May 1996 23:10:30 +0000 (+0000) Subject: don't export selection X-Git-Tag: v1.4b1~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51b708ab61b73bf16eecf98cbe5c7b3f5adfc1fd;p=python don't export selection --- diff --git a/Lib/lib-tk/FileDialog.py b/Lib/lib-tk/FileDialog.py index a2e56eaed8..4bb74b716a 100644 --- a/Lib/lib-tk/FileDialog.py +++ b/Lib/lib-tk/FileDialog.py @@ -48,11 +48,11 @@ class FileDialog: self.filter.bind('', 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('', self.dirs_select_event) self.dirs.bind('', 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('', self.files_select_event) self.files.bind('', self.files_double_event) diff --git a/Lib/tkinter/FileDialog.py b/Lib/tkinter/FileDialog.py index a2e56eaed8..4bb74b716a 100755 --- a/Lib/tkinter/FileDialog.py +++ b/Lib/tkinter/FileDialog.py @@ -48,11 +48,11 @@ class FileDialog: self.filter.bind('', 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('', self.dirs_select_event) self.dirs.bind('', 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('', self.files_select_event) self.files.bind('', self.files_double_event)