r21815 - /desktop/unstable/hamster-applet/debian/patches/01_startup-fix.patch
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Tue Oct 6 20:58:15 UTC 2009
Author: dktrkranz
Date: Tue Oct 6 20:58:14 2009
New Revision: 21815
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21815
Log:
Polish patch a bit
Modified:
desktop/unstable/hamster-applet/debian/patches/01_startup-fix.patch
Modified: desktop/unstable/hamster-applet/debian/patches/01_startup-fix.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/hamster-applet/debian/patches/01_startup-fix.patch?rev=21815&op=diff
==============================================================================
--- desktop/unstable/hamster-applet/debian/patches/01_startup-fix.patch [utf-8] (original)
+++ desktop/unstable/hamster-applet/debian/patches/01_startup-fix.patch [utf-8] Tue Oct 6 20:58:14 2009
@@ -1,7 +1,9 @@
+Remove path checks, they prevent applet from starting
+
diff -Nur -x '*.orig' -x '*~' hamster-applet-2.28.0/hamster/configuration.py hamster-applet-2.28.0.new/hamster/configuration.py
--- hamster-applet-2.28.0/hamster/configuration.py 2009-09-01 11:32:49.000000000 +0200
+++ hamster-applet-2.28.0.new/hamster/configuration.py 2009-10-01 22:47:50.000000000 +0200
-@@ -44,10 +44,9 @@
+@@ -44,10 +44,8 @@
gettext.install("hamster-applet", unicode = True)
# Typically shared data dir is /usr/share/hamster-applet
@@ -9,7 +11,6 @@
- data_dir = os.path.join(defs.DATA_DIR, "hamster-applet")
- else:
- data_dir = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', 'data'))
-+ os.path.realpath(__file__).startswith(defs.PYTHONDIR)
+ data_dir = os.path.join(defs.DATA_DIR, "hamster-applet")
+
self.data_dir = data_dir
More information about the pkg-gnome-commits
mailing list