From da158b304450c2ddcc3d4dc4dfa8630ede3db8ce Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 28 Apr 2007 05:39:16 +0000 Subject: share/gnome -> share git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8658 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/deskbar-applet/files/patch-deskbar_Utils.py | 11 +++++++++++ .../files/patch-deskbar_deskbar-applet.py | 17 +++++++++++++++++ .../files/patch-deskbar_handlers_mozilla.py | 18 ++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 deskutils/deskbar-applet/files/patch-deskbar_Utils.py create mode 100644 deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py create mode 100644 deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py (limited to 'deskutils/deskbar-applet/files') diff --git a/deskutils/deskbar-applet/files/patch-deskbar_Utils.py b/deskutils/deskbar-applet/files/patch-deskbar_Utils.py new file mode 100644 index 000000000..9f896130e --- /dev/null +++ b/deskutils/deskbar-applet/files/patch-deskbar_Utils.py @@ -0,0 +1,11 @@ +--- deskbar/Utils.py.orig Tue Nov 1 20:32:51 2005 ++++ deskbar/Utils.py Tue Nov 1 20:33:08 2005 +@@ -10,7 +10,7 @@ + + sysdirs = os.getenv("XDG_DATA_DIRS") + if sysdirs == None: +- sysdirs = "/usr/local/share:/usr/share" ++ sysdirs = "/usr/local/share/:%%X11BASE%%/share/" + + dirs = "%s:%s" % (dirs, sysdirs) + return [dir for dir in dirs.split(":") if dir.strip() != "" and exists(dir)] diff --git a/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py b/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py new file mode 100644 index 000000000..4b01cdd9b --- /dev/null +++ b/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py @@ -0,0 +1,17 @@ +--- deskbar/deskbar-applet.py.orig Mon May 29 19:20:47 2006 ++++ deskbar/deskbar-applet.py Mon May 29 19:20:54 2006 +@@ -42,10 +42,10 @@ if hasattr(gettext, 'bind_textdomain_cod + gettext.bind_textdomain_codeset('deskbar-applet','UTF-8') + gettext.textdomain('deskbar-applet') + +-locale.bindtextdomain('deskbar-applet', abspath(join(deskbar.defs.DATA_DIR, "locale"))) +-if hasattr(locale, 'bind_textdomain_codeset'): +- locale.bind_textdomain_codeset('deskbar-applet','UTF-8') +-locale.textdomain('deskbar-applet') ++#locale.bindtextdomain('deskbar-applet', abspath(join(deskbar.defs.DATA_DIR, "locale"))) ++#if hasattr(locale, 'bind_textdomain_codeset'): ++# locale.bind_textdomain_codeset('deskbar-applet','UTF-8') ++#locale.textdomain('deskbar-applet') + + import gtkexcepthook + diff --git a/deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py b/deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py new file mode 100644 index 000000000..ffad36e44 --- /dev/null +++ b/deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py @@ -0,0 +1,18 @@ +--- deskbar/handlers/mozilla.py.orig Wed Mar 1 13:32:12 2006 ++++ deskbar/handlers/mozilla.py Wed Mar 1 13:33:19 2006 +@@ -189,6 +189,7 @@ class MozillaSearchHandler(deskbar.Handl + get_firefox_home_file("searchplugins"), + get_firefox_home_file("search"), + expanduser("~/.mozilla/searchplugins"), ++ "%%LOCALBASE%%/lib/firefox/searchplugins", + "/usr/lib/firefox/searchplugins", + "/usr/local/lib/firefox/searchplugins", + "/usr/lib/mozilla-firefox/searchplugins", +@@ -197,6 +198,7 @@ class MozillaSearchHandler(deskbar.Handl + smart_dirs = [ + get_mozilla_home_file("search"), + expanduser("~/.mozilla/searchplugins"), ++ "%%LOCALBASE%%/lib/mozilla/searchplugins", + "/usr/lib/mozilla/searchplugins", + "/usr/local/lib/mozilla/searchplugins"] + -- cgit v1.2.3