From: Rafaël Carré Date: Sun, 18 May 2008 19:54:58 +0000 (+0200) Subject: Fix glade search path - thanks to dionoea X-Git-Tag: 0.9.0-test0~887 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=61a7eac1133592ab209e4e322bd8133f5fc1d2dc;p=vlc Fix glade search path - thanks to dionoea --- 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')