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
More fixes for creating/extracting directories.
[rox-archive.git]
/
v2
/
main.py
blob
125531e10ad42d15b3ea50a80b24ba44cd110bb8
1
import
sys
,
gtk
2
from
rox2
import
support
3
4
if
len
(
sys
.
argv
) !=
2
:
5
support
.
alert
(
6
"Drag a file or directory onto Archive to archive it. "
+
7
"Drag an archive onto it to extract."
,
8
type
=
gtk
.
MESSAGE_INFO
)
9
else
:
10
import
Archive
11
Archive
.
make_archiver
(
sys
.
argv
[
1
])
12
13
support
.
mainloop_with_refcount
()