X-Git-Url: http://git.code-monkey.de/?p=euphoria.git;a=blobdiff_plain;f=bin%2Feuphoria;h=af0b49100a477ebd791e531a3833f448ff65e6a0;hp=c1f28b3e49438bd02026c6a04ffd78b4c2b3385e;hb=60c3a7b8b939673aeda77aa5ea43bb5b7cab4166;hpb=07bd2ad097ccf77fbe0a6679c2335e906f48866a diff --git a/bin/euphoria b/bin/euphoria index c1f28b3..af0b491 100644 --- a/bin/euphoria +++ b/bin/euphoria @@ -2,6 +2,7 @@ require "ecore" require "ecore_x" +require "evas" require "ecore_evas" require "edje" require "esmart" @@ -20,7 +21,7 @@ require "euphoria/slider" require "euphoria/volume_box" require "euphoria/playtime_updater" require "euphoria/playback_status_handler" -require "euphoria/file_dialog" +#require "euphoria/file_dialog" Config = Struct.new("Config", :ipc_path, :theme, :time_display_elapsed) @@ -109,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 @@ -149,10 +150,12 @@ private @ee = Ecore::Evas::SoftwareX11.new @ee.title = "Euphoria" @ee.name_class = ["Euphoria", "Euphoria"] + @ee.has_alpha = true @ee.borderless = true #@ee.evas.font_path_append("/usr/X11R6/lib/X11/fonts/TTF") #@ee.evas.font_path_append(ENV["HOME"] + "/.fonts") + @ee.evas.font_hinting = Evas::Evas::AUTO @ee.on_pre_render { Edje::thaw } @ee.on_post_render { Edje::freeze } @@ -191,8 +194,6 @@ private @ee.resize(w, h) - @ee.shaped = !@edje.data("shaped").nil? - ui_refresh_seeker(0) end