Updated the ChangeLog
[rox-lithium.git] / AppletRun
blobee48e10b043f9bd610d72c768abb4da8d8c60aae
1 #!/usr/bin/env python
3 import findrox; findrox.version(2, 0, 0)
4 import rox, os, sys
6 try:
7 __builtins__._ = rox.i18n.translation(os.path.join(rox.app_dir, 'Messages'))
9 if len(sys.argv) > 1:
10 import battery
11 main = battery.Battery(sys.argv[1])
12 main.show_all()
13 else:
14 rox.info(_("This is a panel applet. Drag it to your panel to run it.\nI'll now let you edit the configuration options..."))
15 import battery
16 rox.edit_options()
17 rox.mainloop()
18 except:
19 rox.report_exception()