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
Updated to new SaveBox widget in ROX-Lib.
[rox-archive.git]
/
AppRun
blob
9e7d7cdc7547316244007a8e733aea0577e8efa8
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
box
=
MultipleChoice
(
"Drag a file or directory onto Archive to "
15
"archive it. Drag an archive onto it to extract."
,
16
[
'OK'
])
17
box
.
set_title
(
'Archive'
)
18
box
.
wait
()
19
exit
()
20
else
:
21
make_archiver
(
argv
[
1
])
22
23
mainloop
()