From 61a7eac1133592ab209e4e322bd8133f5fc1d2dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 18 May 2008 21:54:58 +0200 Subject: [PATCH] Fix glade search path - thanks to dionoea --- extras/misc/mpris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/misc/mpris.py b/extras/misc/mpris.py index 8b157b790e..60d3a74d11 100755 --- a/extras/misc/mpris.py +++ b/extras/misc/mpris.py @@ -290,7 +290,7 @@ def GetPlayStatus(widget): # loads glade file from the directory where the script is, # so we can use /path/to/mpris.py to execute it. import sys -xml = gtk.glade.XML(os.path.dirname(sys.argv[0]) + '/mpris.glade') +xml = gtk.glade.XML(os.path.join(os.path.dirname(sys.argv[0]) , 'mpris.glade')) # ui setup bt_close = xml.get_widget('close') -- 2.39.5