Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
61a7eac1
Commit
61a7eac1
authored
May 18, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix glade search path - thanks to dionoea
parent
c5b21fdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
extras/misc/mpris.py
extras/misc/mpris.py
+1
-1
No files found.
extras/misc/mpris.py
View file @
61a7eac1
...
@@ -290,7 +290,7 @@ def GetPlayStatus(widget):
...
@@ -290,7 +290,7 @@ def GetPlayStatus(widget):
# loads glade file from the directory where the script is,
# loads glade file from the directory where the script is,
# so we can use /path/to/mpris.py to execute it.
# so we can use /path/to/mpris.py to execute it.
import
sys
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
# ui setup
bt_close
=
xml
.
get_widget
(
'close'
)
bt_close
=
xml
.
get_widget
(
'close'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment