Updated to new SaveBox widget in ROX-Lib.
[rox-archive.git] / AppRun
blob9e7d7cdc7547316244007a8e733aea0577e8efa8
1 #!/usr/bin/env python
3 import findrox
5 from sys import argv, exit
7 from gtk import *
8 from GDK import *
10 from Archive import *
11 from support import *
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])
23 mainloop()