]> git.sesse.net Git - vlc/commitdiff
Fix glade search path - thanks to dionoea
authorRafaël Carré <funman@videolan.org>
Sun, 18 May 2008 19:54:58 +0000 (21:54 +0200)
committerRafaël Carré <funman@videolan.org>
Sun, 18 May 2008 19:54:58 +0000 (21:54 +0200)
extras/misc/mpris.py

index 8b157b790e7f464b52a03f1bb7c8932c346c63a7..60d3a74d1133bd595e0ea4759c57d973447be151 100755 (executable)
@@ -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')