summaryrefslogtreecommitdiff
path: root/invest-applet/invest/mate-invest-chart
blob: 097f4c7849b4009402011d507b3a01d16e21f7b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python

import sys, mate-invest.chart, gtk

# Prepare i18n
import gettext, locale
gettext.bindtextdomain(mate-invest.defs.GETTEXT_PACKAGE, mate-invest.defs.MATELOCALEDIR)
gettext.textdomain(invest.defs.GETTEXT_PACKAGE)
locale.bindtextdomain(mate-invest.defs.GETTEXT_PACKAGE, mate-invest.defs.MATELOCALEDIR)
locale.textdomain(mate-invest.defs.GETTEXT_PACKAGE)

if __name__ == "__main__":
	win = mate-invest.chart.show_chart(sys.argv[1:])
	win.connect("destroy", lambda x: gtk.main_quit())
	gtk.main()