Enlightenment CVS committal Author : tsauerbeck Project : e17 Module : apps/euphoria
Dir : e17/apps/euphoria/bin Modified Files: euphoria Log Message: theme compat work =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/euphoria/bin/euphoria,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- euphoria 27 Apr 2005 22:44:06 -0000 1.9 +++ euphoria 28 Apr 2005 08:17:45 -0000 1.10 @@ -1,6 +1,6 @@ #!/usr/bin/ruby -w -# $Id: euphoria,v 1.9 2005/04/27 22:44:06 tsauerbeck Exp $ +# $Id: euphoria,v 1.10 2005/04/28 08:17:45 tsauerbeck Exp $ require "ecore" require "ecore_x" @@ -23,7 +23,7 @@ include Singleton - attr_reader :xmms, :edje + attr_reader :xmms, :ee, :edje def initialize @edje = nil @@ -85,6 +85,14 @@ handle_current_pos(@xmms.playlist_current_pos.wait) end + def show + if @edje.data("has_separate_playlist").nil? + @playlist.show(@theme, false) + end + + @ee.show + end + private def init_gui @ee = Ecore::Evas::SoftwareX11.new @@ -124,7 +132,6 @@ @ee.set_size_min(w, h) @ee.resize(w, h) - @ee.show @ee.shaped = [EMAIL PROTECTED]("shaped").nil? @@ -196,7 +203,7 @@ puts source end - @edje.on_signal("playlist.open") { @playlist.show(@theme) } + @edje.on_signal("playlist.open") { @playlist.show(@theme, true) } @edje.on_signal("TOGGLE_REPEAT_MODE") do |sig, source| # don't react on our own emission @@ -293,4 +300,5 @@ end $x = Euphoria.instance +Euphoria.instance.show Ecore::main_loop_begin ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs