gnome-bluetooth/gnome-bluetooth-pixmapsdir.patch

17 lines
727 B
Diff

Index: python/manager.py
===================================================================
RCS file: /cvs/gnome/gnome-bluetooth/python/manager.py,v
retrieving revision 1.15
diff -u -p -r1.15 manager.py
--- python/manager.py 7 Aug 2005 16:51:50 -0000 1.15
+++ python/manager.py 2 Feb 2006 18:46:25 -0000
@@ -265,7 +265,7 @@ class BTManager (object):
dialog.show ()
def image_file (self, fname):
- for d in [os.path.join (__datadir__, "pixmaps"), "../pixmaps"]:
+ for d in [os.path.join (__datadir__, "pixmaps"), os.path.join (__datadir__, "../pixmaps"), "../pixmaps"]:
if os.path.isfile (os.path.join (d, fname)):
return os.path.join (d, fname)
return None