multiple file add
This commit is contained in:
parent
f3d83f687d
commit
afd563d7b7
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue