From c7b2e180e6cfb4aec22f8ab3e0aebc6773032216 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Fri, 27 Jan 2012 11:19:49 +0100 Subject: 'invest' python module is now 'mate-invest' to solve conflicts with gnome --- invest-applet/invest/mate-invest-chart | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 invest-applet/invest/mate-invest-chart (limited to 'invest-applet/invest/mate-invest-chart') 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() -- cgit v1.2.1