#!/usr/bin/env python

import findrox

from sys import argv, exit

from gtk import *
from GDK import *

from Archive import *
from support import *

if len(argv) != 2:
	report_error("Drag a file or directory onto Archive to "
		     "archive it. Drag an archive onto it to extract.",
		     "Archive")
else:
	make_archiver(argv[1])

rox_toplevel_unref()
rox_mainloop()
