From 5e7847f38e50b05fa29cb0461ad329364ddd2b1b Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 14 Sep 2006 00:44:54 +0000 Subject: Fix invest-applet runtime since our locale Python module does not have gettext attributes. Reported by: mux git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7297 df743ca5-7f9a-e211-a948-0013205c9059 --- .../files/patch-invest-applet_invest_invest-applet.py | 13 +++++++++++++ .../files/patch-invest-applet_invest_invest-chart | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 x11/gnome-applets/files/patch-invest-applet_invest_invest-applet.py create mode 100644 x11/gnome-applets/files/patch-invest-applet_invest_invest-chart (limited to 'x11/gnome-applets') diff --git a/x11/gnome-applets/files/patch-invest-applet_invest_invest-applet.py b/x11/gnome-applets/files/patch-invest-applet_invest_invest-applet.py new file mode 100644 index 000000000..0dc24164e --- /dev/null +++ b/x11/gnome-applets/files/patch-invest-applet_invest_invest-applet.py @@ -0,0 +1,13 @@ +--- invest-applet/invest/invest-applet.py.orig Wed Sep 13 20:42:15 2006 ++++ invest-applet/invest/invest-applet.py Wed Sep 13 20:42:28 2006 +@@ -26,8 +26,8 @@ import invest, invest.applet, invest.def + import gettext, locale + gettext.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) + gettext.textdomain(invest.defs.GETTEXT_PACKAGE) +-locale.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) +-locale.textdomain(invest.defs.GETTEXT_PACKAGE) ++#locale.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) ++#locale.textdomain(invest.defs.GETTEXT_PACKAGE) + gtk.glade.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) + gtk.glade.textdomain(invest.defs.GETTEXT_PACKAGE) + diff --git a/x11/gnome-applets/files/patch-invest-applet_invest_invest-chart b/x11/gnome-applets/files/patch-invest-applet_invest_invest-chart new file mode 100644 index 000000000..2eddc8154 --- /dev/null +++ b/x11/gnome-applets/files/patch-invest-applet_invest_invest-chart @@ -0,0 +1,13 @@ +--- invest-applet/invest/invest-chart.orig Wed Sep 13 20:41:18 2006 ++++ invest-applet/invest/invest-chart Wed Sep 13 20:41:33 2006 +@@ -6,8 +6,8 @@ import sys, invest.chart, gtk + import gettext, locale + gettext.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) + gettext.textdomain(invest.defs.GETTEXT_PACKAGE) +-locale.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) +-locale.textdomain(invest.defs.GETTEXT_PACKAGE) ++#locale.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) ++#locale.textdomain(invest.defs.GETTEXT_PACKAGE) + gtk.glade.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) + gtk.glade.textdomain(invest.defs.GETTEXT_PACKAGE) + -- cgit v1.2.3