Added playlist buttons.
[multipass-eu.git] / src / player-main-buttons.rb
index 2b376891acef92826f31da77032cc8274c04f053..fea63dced1efb085caa7e0a49842d164539dbbe3 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: player-main-buttons.rb 4 2005-04-23 16:06:34Z tilman $
+# $Id: player-main-buttons.rb 7 2005-04-24 10:46:14Z tilman $
 
 c = EDJE.collection("euphoria")
 root = c.part("root")
@@ -6,7 +6,7 @@ root = c.part("root")
 buttons = []
 
 def image_from_name(name)
-       md = name.match(/^player\.(.*)$/)
+       md = name.match(/\.(.*)$/)
        md.nil? ? name : md.captures.first.gsub(".", "-")
 end