summaryrefslogtreecommitdiffstats
path: root/deskutils/deskbar-applet/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 13:39:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 13:39:16 +0800
commitda158b304450c2ddcc3d4dc4dfa8630ede3db8ce (patch)
treedb9bfae5997fde0b911b9c70d9d28057831c714b /deskutils/deskbar-applet/files
parent622b15bdbbdb654da3e089ee401c64fd23a6c14b (diff)
downloadmarcuscom-ports-da158b304450c2ddcc3d4dc4dfa8630ede3db8ce.tar
marcuscom-ports-da158b304450c2ddcc3d4dc4dfa8630ede3db8ce.tar.gz
marcuscom-ports-da158b304450c2ddcc3d4dc4dfa8630ede3db8ce.tar.bz2
marcuscom-ports-da158b304450c2ddcc3d4dc4dfa8630ede3db8ce.tar.lz
marcuscom-ports-da158b304450c2ddcc3d4dc4dfa8630ede3db8ce.tar.xz
marcuscom-ports-da158b304450c2ddcc3d4dc4dfa8630ede3db8ce.tar.zst
marcuscom-ports-da158b304450c2ddcc3d4dc4dfa8630ede3db8ce.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8658 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/deskbar-applet/files')
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar_Utils.py11
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py17
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py18
3 files changed, 46 insertions, 0 deletions
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"]
+