From afd563d7b718008b2c9b2bace6648821166438aa Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 29 Jun 2007 02:00:15 +0000 Subject: [PATCH] multiple file add --- src/dialogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index b7209ccf3..c48b47239 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -278,13 +278,14 @@ def show_file_open_dialog(parent=None, title=None): f1.set_name(_("All files")) f1.add_pattern("*") chooser.add_filter(f1) + chooser.set_select_multiple(true) chooser.set_icon_from_file(common.get_pixmap("deluge32.png")) chooser.set_property("skip-taskbar-hint", True) response = chooser.run() if response == gtk.RESPONSE_OK: - result = chooser.get_filename() + result = chooser.get_filenames() else: result = None chooser.destroy()