updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dbus-inspector / share.patch
blob1d3330896a1a67a2e4c9135daf83b687a936d523
1 --- src.old/dbus-inspector/dbus-inspector 2007-04-21 11:48:31.000000000 +0200
2 +++ src/dbus-inspector/dbus-inspector 2007-04-21 11:49:44.000000000 +0200
3 @@ -25,7 +25,8 @@
4 def __init__(self):
5 # Try to locate the glade file
6 gladefile = "dbus-inspector.glade"
7 - tryfiles = [gladefile, os.path.join(os.path.dirname(sys.argv[0]),gladefile)]
8 + share = os.path.join("/usr/share/dbus-inspector", gladefile)
9 + tryfiles = [share, gladefile, os.path.join(os.path.dirname(sys.argv[0]),gladefile)]
10 for file in tryfiles:
11 if os.access(file, os.F_OK):
12 gladefile = file