1
Remove path checks, they prevent applet from starting
3
diff -Nur -x '*.orig' -x '*~' hamster-applet-2.28.0/hamster/configuration.py hamster-applet-2.28.0.new/hamster/configuration.py
4
--- hamster-applet-2.28.0/hamster/configuration.py 2009-09-01 11:32:49.000000000 +0200
5
+++ hamster-applet-2.28.0.new/hamster/configuration.py 2009-10-01 22:47:50.000000000 +0200
7
gettext.install("hamster-applet", unicode = True)
9
# Typically shared data dir is /usr/share/hamster-applet
10
- if os.path.realpath(__file__).startswith(defs.PYTHONDIR):
11
- data_dir = os.path.join(defs.DATA_DIR, "hamster-applet")
13
- data_dir = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', 'data'))
14
+ data_dir = os.path.join(defs.DATA_DIR, "hamster-applet")
16
self.data_dir = data_dir
17
self.dispatcher = Dispatcher()
18
self.storage = Storage(self.dispatcher)