repo.or.cz
/
rox-archive.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
If an archive contained a single directory, and that directory contained a
[rox-archive.git]
/
AppRun
blob
8722d2589c1702069bf59e4dd65bef4daf46a458
1
#!/usr/bin/env python
2
3
import
findrox
4
5
from
sys
import
argv
,
exit
6
7
from
gtk
import
*
8
from
GDK
import
*
9
10
from
Archive
import
*
11
from
support
import
*
12
13
if
len
(
argv
) !=
2
:
14
report_error
(
"Drag a file or directory onto Archive to "
15
"archive it. Drag an archive onto it to extract."
,
16
"Archive"
)
17
else
:
18
make_archiver
(
argv
[
1
])
19
20
rox_toplevel_unref
()
21
rox_mainloop
()