]> granicus.if.org Git - python/commitdiff
don't export selection
authorGuido van Rossum <guido@python.org>
Tue, 28 May 1996 23:10:30 +0000 (23:10 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 May 1996 23:10:30 +0000 (23:10 +0000)
Lib/lib-tk/FileDialog.py
Lib/tkinter/FileDialog.py

index a2e56eaed88c435e021f1b16e6f1673cb5755fbf..4bb74b716ae262d451836a6b20b454cfa2c37397 100644 (file)
@@ -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)
index a2e56eaed88c435e021f1b16e6f1673cb5755fbf..4bb74b716ae262d451836a6b20b454cfa2c37397 100755 (executable)
@@ -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)