don't export selection

This commit is contained in:
Guido van Rossum 1996-05-28 23:10:30 +00:00
parent 5feb54c461
commit 51b708ab61
2 changed files with 4 additions and 4 deletions

View File

@ -48,11 +48,11 @@ def __init__(self, master):
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)

View File

@ -48,11 +48,11 @@ def __init__(self, master):
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)