Removed RCS-style IDs.
[multipass-eu.git] / src / playlist_item.rb
index c3ab305a980774f93c9d25dfeae1e5372ed03005..56b298c44a3a8fd8f4537ce60cb601117a9215c4 100644 (file)
@@ -1,5 +1,3 @@
-# $Id: playlist_item.rb 23 2005-05-28 19:59:03Z tilman $
-
 TEXT_COLOR_HILIGHT = "#f0fafd"
 
 EDJE.collection("playlist_item") do |c|
@@ -20,7 +18,7 @@ EDJE.collection("playlist_item") do |c|
                                        d.color = color
                                        d.outline_color = OUTLINE_COLOR
 
-                                       d.font = "fonts/acknowledge2.ttf"
+                                       d.font = "acknowledge2.ttf"
                                        d.font_size = 12
                                        d.text = "Dark Tranquillity - Through Smudged Lenses"
                                        d.set_text_align(0.0)
@@ -50,6 +48,7 @@ EDJE.collection("playlist_item") do |c|
        ["hilighted", "unhilighted"].each do |state|
                c.program("playlist_item.#{state}", :set_state) do |p|
                        p.signal = "playlist_item.#{state}"
+                       p.source = "*"
                        p.state = state == "unselected" ? "default" : state
                        p.mode = state == "selected" ? :accelerate : :decelerate
                        p.time = 0.5
@@ -61,6 +60,7 @@ EDJE.collection("playlist_item") do |c|
        ["selected", "unselected"].each do |state|
                c.program("playlist_item.#{state}", :set_state) do |p|
                        p.signal = "playlist_item.#{state}"
+                       p.source = "*"
                        p.state = state
                        p.targets << ProgramTarget.new(c.part("background"))
                end