diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-14 08:44:54 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-14 08:44:54 +0800 |
commit | 5e7847f38e50b05fa29cb0461ad329364ddd2b1b (patch) | |
tree | a7631e61cd683babad5319ea0523944235bc71b2 /x11/gnome-applets/files | |
parent | bfae4d2473c3ae2a0958e55ed9071e216381dab3 (diff) | |
download | marcuscom-ports-5e7847f38e50b05fa29cb0461ad329364ddd2b1b.tar marcuscom-ports-5e7847f38e50b05fa29cb0461ad329364ddd2b1b.tar.gz marcuscom-ports-5e7847f38e50b05fa29cb0461ad329364ddd2b1b.tar.bz2 marcuscom-ports-5e7847f38e50b05fa29cb0461ad329364ddd2b1b.tar.lz marcuscom-ports-5e7847f38e50b05fa29cb0461ad329364ddd2b1b.tar.xz marcuscom-ports-5e7847f38e50b05fa29cb0461ad329364ddd2b1b.tar.zst marcuscom-ports-5e7847f38e50b05fa29cb0461ad329364ddd2b1b.zip |
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
Diffstat (limited to 'x11/gnome-applets/files')
-rw-r--r-- | x11/gnome-applets/files/patch-invest-applet_invest_invest-applet.py | 13 | ||||
-rw-r--r-- | x11/gnome-applets/files/patch-invest-applet_invest_invest-chart | 13 |
2 files changed, 26 insertions, 0 deletions
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) + |