X-Git-Url: http://git.code-monkey.de/?p=euphoria.git;a=blobdiff_plain;f=bin%2Feuphoria;h=e2077a266f3db45d5569cfe63c9f0efa18debc35;hp=707d9e0b806d7c4e3bb1d327825facd81f20f943;hb=37dca508bab3a170cac31ba5dd74896b76040e20;hpb=1e4752ea4801aec7b6ff6c2fe5b09c3be2227c92 diff --git a/bin/euphoria b/bin/euphoria index 707d9e0..e2077a2 100644 --- a/bin/euphoria +++ b/bin/euphoria @@ -1,9 +1,8 @@ #!/usr/bin/ruby -w -# $Id: euphoria,v 1.41 2006/09/07 13:38:26 tilman Exp $ - require "ecore" require "ecore_x" +require "evas" require "ecore_evas" require "edje" require "esmart" @@ -111,7 +110,7 @@ class Euphoria end =end - handle_current_pos(@xmms.playlist_current_pos.wait) + handle_current_pos(@xmms.playlist.current_pos.wait) end def show @@ -326,12 +325,7 @@ private def ui_fill_track_info(item) unless item.nil? - if item.channel.nil? - msg = Edje::Message.new(0, item.artist, item.title, item.album) - else - msg = Edje::Message.new(0, "", item.title, "") - end - @edje.send_message(msg) + @edje.send_message(item.track_info_message) end end