diff options
author | Perberos <[email protected]> | 2012-01-30 12:07:26 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2012-01-30 12:07:26 -0300 |
commit | 764b33d33ca2884e606e722cedd9e33bd88d901e (patch) | |
tree | 0a34ecb3809f459b663a3475ac56cf887c44af0f /invest-applet/invest/mate-invest-chart | |
parent | 934a0a1f1c7766dd8193e020af6bed8134488e83 (diff) | |
parent | e094167059fd482d254e3724ddc28a640d8a4156 (diff) | |
download | mate-applets-764b33d33ca2884e606e722cedd9e33bd88d901e.tar.bz2 mate-applets-764b33d33ca2884e606e722cedd9e33bd88d901e.tar.xz |
Merge branch 'master' of https://github.com/mate-desktop/mate-applets
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..ea025de8 --- /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(mate_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() |