[vlc-devel] commit: Fix glade search path - thanks to dionoea ( Rafaël Carré )
git version control
git at videolan.org
Sun May 18 21:53:29 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun May 18 21:54:58 2008 +0200| [61a7eac1133592ab209e4e322bd8133f5fc1d2dc]
Fix glade search path - thanks to dionoea
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=61a7eac1133592ab209e4e322bd8133f5fc1d2dc
---
extras/misc/mpris.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extras/misc/mpris.py b/extras/misc/mpris.py
index 8b157b7..60d3a74 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')
More information about the vlc-devel
mailing list