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
Started on Gtk+-2.0 support.
[rox-archive.git]
/
v1
/
main.py
blob
0b32a0e9a842dac1610c93eef02072baf0ed72c6
1
import
sys
,
gtk
2
from
rox
import
support
3
4
if
len
(
sys
.
argv
) !=
2
:
5
support
.
report_error
(
6
"Drag a file or directory onto Archive to archive it. "
+
7
"Drag an archive onto it to extract."
)
8
else
:
9
import
Archive
10
Archive
.
make_archiver
(
sys
.
argv
[
1
])
11
12
support
.
rox_toplevel_unref
()
13
support
.
rox_mainloop
()