[kupfer: 10/67] desktop_launch: Fix bug in opening files one-by-one



commit 6d2dbd02b7addf3a02a2d9a7cbaf9eb9cae6388b
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Mar 15 22:52:26 2011 +0100

    desktop_launch: Fix bug in opening files one-by-one

 kupfer/desktop_launch.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/desktop_launch.py b/kupfer/desktop_launch.py
index 9f9a520..71f0be9 100644
--- a/kupfer/desktop_launch.py
+++ b/kupfer/desktop_launch.py
@@ -258,7 +258,7 @@ def launch_app_info(app_info, gfiles=[], in_terminal=None):
 
 	else:
 		# Launch one process per file
-		launch_records = [(launch_argv, gfiles[0])]
+		launch_records = [(launch_argv, [gfiles[0]])]
 		for f in gfiles[1:]:
 			_ignore1, _ignore2, launch_argv = \
 				replace_format_specs(argv, desktop_file, desktop_info, [f])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]