summaryrefslogtreecommitdiffstats
path: root/deskutils/deskbar-applet/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-17 12:36:32 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-17 12:36:32 +0800
commit364fb2aa78603f9af1c7144e9553743ec95d3475 (patch)
tree3277699afb6d4e9e9a7e34876812bce35bfbf747 /deskutils/deskbar-applet/files
parent4217f0724bbe9104e813cacd45e8add896c5c411 (diff)
downloadmarcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar
marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.gz
marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.bz2
marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.lz
marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.xz
marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.tar.zst
marcuscom-ports-364fb2aa78603f9af1c7144e9553743ec95d3475.zip
Update to 2.15.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6278 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_handlers_mozilla.py18
2 files changed, 29 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..773c8e15a
--- /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 = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/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_handlers_mozilla.py b/deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py
new file mode 100644
index 000000000..a668777c1
--- /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"),
++ "%%X11BASE%%/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"),
++ "%%X11BASE%%/lib/mozilla/searchplugins",
+ "/usr/lib/mozilla/searchplugins",
+ "/usr/local/lib/mozilla/searchplugins"]
+