Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4401a560
Commit
4401a560
authored
May 18, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpris.py: convert from glade to gtk builder
thanks to mirsal
parent
64980825
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
148 additions
and
146 deletions
+148
-146
extras/misc/mpris.py
extras/misc/mpris.py
+25
-25
extras/misc/mpris.xml
extras/misc/mpris.xml
+123
-121
No files found.
extras/misc/mpris.py
View file @
4401a560
...
...
@@ -37,7 +37,6 @@ import dbus.glib
# core interface stuff
import
gtk
import
gtk.glade
# timer
import
gobject
...
...
@@ -287,34 +286,35 @@ def GetPlayStatus(widget):
bt_loop
.
set_active
(
loop
)
repeat
=
status
[
3
]
==
1
bt_repeat
.
set_active
(
repeat
)
# loads
glade
file from the directory where the script is,
# loads
UI
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
.
join
(
os
.
path
.
dirname
(
sys
.
argv
[
0
])
,
'mpris.glade'
))
xml
=
gtk
.
Builder
()
gtk
.
Builder
.
add_from_file
(
xml
,
os
.
path
.
join
(
os
.
path
.
dirname
(
sys
.
argv
[
0
])
,
'mpris.xml'
))
# ui setup
bt_close
=
xml
.
get_
widge
t
(
'close'
)
bt_quit
=
xml
.
get_
widge
t
(
'quit'
)
bt_file
=
xml
.
get_
widge
t
(
'ChooseFile'
)
bt_next
=
xml
.
get_
widge
t
(
'next'
)
bt_prev
=
xml
.
get_
widge
t
(
'prev'
)
bt_stop
=
xml
.
get_
widge
t
(
'stop'
)
bt_toggle
=
xml
.
get_
widge
t
(
'toggle'
)
bt_mrl
=
xml
.
get_
widge
t
(
'AddMRL'
)
bt_shuffle
=
xml
.
get_
widge
t
(
'shuffle'
)
bt_repeat
=
xml
.
get_
widge
t
(
'repeat'
)
bt_loop
=
xml
.
get_
widge
t
(
'loop'
)
l_artist
=
xml
.
get_
widge
t
(
'l_artist'
)
l_title
=
xml
.
get_
widge
t
(
'l_title'
)
e_mrl
=
xml
.
get_
widge
t
(
'mrl'
)
window
=
xml
.
get_
widge
t
(
'window1'
)
img_bt_toggle
=
xml
.
get_
widge
t
(
'image6'
)
exp
=
xml
.
get_
widge
t
(
'expander2'
)
expvbox
=
xml
.
get_
widge
t
(
'expandvbox'
)
audioicon
=
xml
.
get_
widge
t
(
'eventicon'
)
vol
=
xml
.
get_
widge
t
(
'vol'
)
time_s
=
xml
.
get_
widge
t
(
'time_s'
)
time_l
=
xml
.
get_
widge
t
(
'time_l'
)
bt_close
=
xml
.
get_
objec
t
(
'close'
)
bt_quit
=
xml
.
get_
objec
t
(
'quit'
)
bt_file
=
xml
.
get_
objec
t
(
'ChooseFile'
)
bt_next
=
xml
.
get_
objec
t
(
'next'
)
bt_prev
=
xml
.
get_
objec
t
(
'prev'
)
bt_stop
=
xml
.
get_
objec
t
(
'stop'
)
bt_toggle
=
xml
.
get_
objec
t
(
'toggle'
)
bt_mrl
=
xml
.
get_
objec
t
(
'AddMRL'
)
bt_shuffle
=
xml
.
get_
objec
t
(
'shuffle'
)
bt_repeat
=
xml
.
get_
objec
t
(
'repeat'
)
bt_loop
=
xml
.
get_
objec
t
(
'loop'
)
l_artist
=
xml
.
get_
objec
t
(
'l_artist'
)
l_title
=
xml
.
get_
objec
t
(
'l_title'
)
e_mrl
=
xml
.
get_
objec
t
(
'mrl'
)
window
=
xml
.
get_
objec
t
(
'window1'
)
img_bt_toggle
=
xml
.
get_
objec
t
(
'image6'
)
exp
=
xml
.
get_
objec
t
(
'expander2'
)
expvbox
=
xml
.
get_
objec
t
(
'expandvbox'
)
audioicon
=
xml
.
get_
objec
t
(
'eventicon'
)
vol
=
xml
.
get_
objec
t
(
'vol'
)
time_s
=
xml
.
get_
objec
t
(
'time_s'
)
time_l
=
xml
.
get_
objec
t
(
'time_l'
)
# connect to the different callbacks
...
...
extras/misc/mpris.
glade
→
extras/misc/mpris.
xml
View file @
4401a560
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<?xml version="1.0"?>
<!--Generated with glade3 3.3.4 on Fri Sep 14 02:55:34 2007 -->
<glade-interface>
<widget
class=
"GtkWindow"
id=
"window1"
>
<interface>
<object
class=
"GtkAdjustment"
id=
"adjustment1"
>
<property
name=
"upper"
>
1000
</property>
<property
name=
"lower"
>
0
</property>
<property
name=
"page_increment"
>
100
</property>
<property
name=
"step_increment"
>
10
</property>
<property
name=
"page_size"
>
0
</property>
<property
name=
"value"
>
0
</property>
</object>
<object
class=
"GtkAdjustment"
id=
"adjustment2"
>
<property
name=
"upper"
>
100
</property>
<property
name=
"lower"
>
0
</property>
<property
name=
"page_increment"
>
10
</property>
<property
name=
"step_increment"
>
1
</property>
<property
name=
"page_size"
>
0
</property>
<property
name=
"value"
>
100
</property>
</object>
<object
class=
"GtkWindow"
id=
"window1"
>
<property
name=
"resizable"
>
False
</property>
<property
name=
"window_position"
>
GTK_WIN_POS_CENTER
</property>
<child>
<
widge
t
class=
"GtkVBox"
id=
"vbox1"
>
<
objec
t
class=
"GtkVBox"
id=
"vbox1"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkHBox"
id=
"hbox1"
>
<
objec
t
class=
"GtkHBox"
id=
"hbox1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"homogeneous"
>
True
</property>
<child>
<
widge
t
class=
"GtkButton"
id=
"prev"
>
<
objec
t
class=
"GtkButton"
id=
"prev"
>
<property
name=
"width_request"
>
37
</property>
<property
name=
"height_request"
>
37
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Previous
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Previous
</property>
<property
name=
"relief"
>
GTK_RELIEF_NONE
</property>
<property
name=
"response_id"
>
0
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image8"
>
<
objec
t
class=
"GtkImage"
id=
"image8"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-media-previous
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"fill"
>
False
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkButton"
id=
"toggle"
>
<
objec
t
class=
"GtkButton"
id=
"toggle"
>
<property
name=
"width_request"
>
37
</property>
<property
name=
"height_request"
>
37
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Play/Pause
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Play/Pause
</property>
<property
name=
"relief"
>
GTK_RELIEF_NONE
</property>
<property
name=
"response_id"
>
0
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image6"
>
<
objec
t
class=
"GtkImage"
id=
"image6"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-media-play
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkButton"
id=
"next"
>
<
objec
t
class=
"GtkButton"
id=
"next"
>
<property
name=
"width_request"
>
37
</property>
<property
name=
"height_request"
>
37
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Next
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Next
</property>
<property
name=
"relief"
>
GTK_RELIEF_NONE
</property>
<property
name=
"response_id"
>
0
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image1"
>
<
objec
t
class=
"GtkImage"
id=
"image1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-media-next
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkButton"
id=
"stop"
>
<
objec
t
class=
"GtkButton"
id=
"stop"
>
<property
name=
"width_request"
>
37
</property>
<property
name=
"height_request"
>
37
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Stop
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Stop
</property>
<property
name=
"relief"
>
GTK_RELIEF_NONE
</property>
<property
name=
"response_id"
>
0
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image9"
>
<
objec
t
class=
"GtkImage"
id=
"image9"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-media-stop
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
...
...
@@ -93,175 +104,170 @@
</packing>
</child>
<child>
<
widge
t
class=
"GtkButton"
id=
"quit"
>
<
objec
t
class=
"GtkButton"
id=
"quit"
>
<property
name=
"width_request"
>
37
</property>
<property
name=
"height_request"
>
37
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Quit Player
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Quit Player
</property>
<property
name=
"relief"
>
GTK_RELIEF_NONE
</property>
<property
name=
"response_id"
>
0
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image5"
>
<
objec
t
class=
"GtkImage"
id=
"image5"
>
<property
name=
"width_request"
>
26
</property>
<property
name=
"height_request"
>
26
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-quit
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
4
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkButton"
id=
"close"
>
<
objec
t
class=
"GtkButton"
id=
"close"
>
<property
name=
"width_request"
>
37
</property>
<property
name=
"height_request"
>
37
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Close controller
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Close controller
</property>
<property
name=
"relief"
>
GTK_RELIEF_NONE
</property>
<property
name=
"response_id"
>
0
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image2"
>
<
objec
t
class=
"GtkImage"
id=
"image2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"stock"
>
gtk-close
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
5
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkExpander"
id=
"expander2"
>
<
objec
t
class=
"GtkExpander"
id=
"expander2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Show more options
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Show more options
</property>
<child>
<
widge
t
class=
"GtkVBox"
id=
"vbox2"
>
<
objec
t
class=
"GtkVBox"
id=
"vbox2"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkHBox"
id=
"hbox5"
>
<
objec
t
class=
"GtkHBox"
id=
"hbox5"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<child>
<
widge
t
class=
"GtkToggleButton"
id=
"loop"
>
<
objec
t
class=
"GtkToggleButton"
id=
"loop"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Loop playlist
</property>
<property
name=
"response_id"
>
0
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Loop playlist
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image3"
>
<
objec
t
class=
"GtkImage"
id=
"image3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"stock"
>
gtk-missing-image
</property>
<property
name=
"icon_name"
>
media-playlist-repeat
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkToggleButton"
id=
"repeat"
>
<
objec
t
class=
"GtkToggleButton"
id=
"repeat"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Repeat current
</property>
<property
name=
"response_id"
>
0
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Repeat current
</property>
<child>
<
widge
t
class=
"GtkHBox"
id=
"hbox6"
>
<
objec
t
class=
"GtkHBox"
id=
"hbox6"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<child>
<
widge
t
class=
"GtkLabel"
id=
"label1"
>
<
objec
t
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"label"
translatable=
"yes"
>
1.
</property>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkImage"
id=
"image10"
>
<
objec
t
class=
"GtkImage"
id=
"image10"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"stock"
>
gtk-missing-image
</property>
<property
name=
"icon_name"
>
media-playlist-repeat
</property>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkToggleButton"
id=
"shuffle"
>
<
objec
t
class=
"GtkToggleButton"
id=
"shuffle"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Randomize playlist order
</property>
<property
name=
"response_id"
>
0
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Randomize playlist order
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image7"
>
<
objec
t
class=
"GtkImage"
id=
"image7"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"stock"
>
gtk-missing-image
</property>
<property
name=
"icon_name"
>
media-playlist-shuffle
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkHBox"
id=
"hbox2"
>
<
objec
t
class=
"GtkHBox"
id=
"hbox2"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkHScale"
id=
"time_s"
>
<
objec
t
class=
"GtkHScale"
id=
"time_s"
>
<property
name=
"width_request"
>
180
</property>
<property
name=
"height_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"adjustment"
>
0 0 1000 10 100 0
</property>
<property
name=
"adjustment"
>
adjustment1
</property>
<property
name=
"digits"
>
-1
</property>
<property
name=
"draw_value"
>
False
</property>
<property
name=
"value_pos"
>
GTK_POS_RIGHT
</property>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkSpinButton"
id=
"vol"
>
<
objec
t
class=
"GtkSpinButton"
id=
"vol"
>
<property
name=
"width_request"
>
42
</property>
<property
name=
"height_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Volume in %
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Volume in %
</property>
<property
name=
"editable"
>
False
</property>
<property
name=
"adjustment"
>
100 0 100 1 10 0
</property>
<property
name=
"adjustment"
>
adjustment2
</property>
<property
name=
"snap_to_ticks"
>
True
</property>
<property
name=
"numeric"
>
True
</property>
<property
name=
"update_policy"
>
GTK_UPDATE_IF_VALID
</property>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
...
...
@@ -269,73 +275,72 @@
</packing>
</child>
<child>
<
widge
t
class=
"GtkHBox"
id=
"hbox4"
>
<
objec
t
class=
"GtkHBox"
id=
"hbox4"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkVBox"
id=
"expandvbox"
>
<
objec
t
class=
"GtkVBox"
id=
"expandvbox"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkFileChooserButton"
id=
"ChooseFile"
>
<
objec
t
class=
"GtkFileChooserButton"
id=
"ChooseFile"
>
<property
name=
"width_request"
>
185
</property>
<property
name=
"height_request"
>
35
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Choose a directory
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Choose a directory
</property>
<property
name=
"action"
>
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER
</property>
<property
name=
"title"
translatable=
"yes"
>
Select Da Directory !
</property>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkEntry"
id=
"mrl"
>
<
objec
t
class=
"GtkEntry"
id=
"mrl"
>
<property
name=
"width_request"
>
185
</property>
<property
name=
"height_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Enter a full MRL
</property>
</
widge
t>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Enter a full MRL
</property>
</
objec
t>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkFixed"
id=
"fixed1"
>
<
objec
t
class=
"GtkFixed"
id=
"fixed1"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkButton"
id=
"AddMRL"
>
<
objec
t
class=
"GtkButton"
id=
"AddMRL"
>
<property
name=
"width_request"
>
35
</property>
<property
name=
"height_request"
>
35
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Add MRL, or directory if empty
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Add MRL, or directory if empty
</property>
<property
name=
"relief"
>
GTK_RELIEF_NONE
</property>
<property
name=
"response_id"
>
0
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"image4"
>
<
objec
t
class=
"GtkImage"
id=
"image4"
>
<property
name=
"width_request"
>
100
</property>
<property
name=
"height_request"
>
80
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"tooltip"
translatable=
"yes"
>
Add to playlist
</property>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Add to playlist
</property>
<property
name=
"stock"
>
gtk-add
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"y"
>
10
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkLabel"
id=
"l_artist"
>
<
objec
t
class=
"GtkLabel"
id=
"l_artist"
>
<property
name=
"width_request"
>
180
</property>
<property
name=
"height_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
...
...
@@ -343,16 +348,16 @@
<property
name=
"wrap"
>
True
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_MIDDLE
</property>
<property
name=
"single_line_mode"
>
True
</property>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
3
</property>
</packing>
</child>
<child>
<
widge
t
class=
"GtkHBox"
id=
"hbox3"
>
<
objec
t
class=
"GtkHBox"
id=
"hbox3"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkLabel"
id=
"l_title"
>
<
objec
t
class=
"GtkLabel"
id=
"l_title"
>
<property
name=
"width_request"
>
180
</property>
<property
name=
"height_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
...
...
@@ -360,47 +365,44 @@
<property
name=
"wrap"
>
True
</property>
<property
name=
"ellipsize"
>
PANGO_ELLIPSIZE_MIDDLE
</property>
<property
name=
"single_line_mode"
>
True
</property>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkEventBox"
id=
"eventicon"
>
<
objec
t
class=
"GtkEventBox"
id=
"eventicon"
>
<property
name=
"visible"
>
True
</property>
<child>
<
widge
t
class=
"GtkImage"
id=
"audioicon"
>
<
objec
t
class=
"GtkImage"
id=
"audioicon"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
></property
>
<property
name=
"tooltip"
translatable=
"yes"
>
Update meta info
</property>
<property
name=
"events"
/
>
<property
name=
"tooltip
-text
"
translatable=
"yes"
>
Update meta info
</property>
<property
name=
"xpad"
>
8
</property>
<property
name=
"icon_name"
>
audio-x-generic
</property>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
4
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
</child>
<child>
<
widge
t
class=
"GtkLabel"
id=
"label2"
>
<child
type=
"label"
>
<
objec
t
class=
"GtkLabel"
id=
"label2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
More
</property>
</widget>
<packing>
<property
name=
"type"
>
label_item
</property>
</packing>
</object>
</child>
</
widge
t>
</
objec
t>
<packing>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</
widge
t>
</
objec
t>
</child>
</
widge
t>
</
glade-
interface>
</
objec
t>
</interface>
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