diff options
author | Stefano Karapetsas <[email protected]> | 2012-01-27 11:19:49 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-01-27 11:19:49 +0100 |
commit | c7b2e180e6cfb4aec22f8ab3e0aebc6773032216 (patch) | |
tree | 06712266abecdc4b8980885c2547d0087fa68fc7 /invest-applet/invest/mate-invest-chart | |
parent | 843576a9e066a18dce191d96eb962d3b0bbde63b (diff) | |
download | mate-applets-c7b2e180e6cfb4aec22f8ab3e0aebc6773032216.tar.bz2 mate-applets-c7b2e180e6cfb4aec22f8ab3e0aebc6773032216.tar.xz |
'invest' python module is now 'mate-invest' to solve conflicts with gnome
Diffstat (limited to 'invest-applet/invest/mate-invest-chart')
-rwxr-xr-x | invest-applet/invest/mate-invest-chart | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/invest-applet/invest/mate-invest-chart b/invest-applet/invest/mate-invest-chart new file mode 100755 index 00000000..097f4c78 --- /dev/null +++ b/invest-applet/invest/mate-invest-chart @@ -0,0 +1,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() |