2 @copyright: (C) 2008, Thomas Leonard
3 @see: U{http://roscidus.com}
5 from zeroinstall
.support
import tasks
# tmp
11 class ApplicationView
:
12 def __init__(self
, app
):
18 for item
in self
.app
.items
:
19 cwd
= gio
.file_new_for_commandline_arg(item
)
20 view_tasks
.append(shell
.ShellView(cwd
).run())
24 tasks
.check(view_tasks
)
25 view_tasks
= [v
for v
in view_tasks
if not v
.happened
]
27 class ApplicationController
:
28 def __init__(self
, items
):
32 view
= ApplicationView(self
)