Removed RCS-style IDs.
[multipass-eu.git] / src / player-main-buttons.rb
index 2b376891acef92826f31da77032cc8274c04f053..a923666b5af043e752bd769d115ff19f35a914e5 100644 (file)
@@ -1,12 +1,10 @@
-# $Id: player-main-buttons.rb 4 2005-04-23 16:06:34Z tilman $
-
 c = EDJE.collection("euphoria")
 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