Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : apps/euphoria

Dir     : e17/apps/euphoria/bin


Modified Files:
        euphoria 


Log Message:
if the environment variable XMMS_PATH is set, use that to connect to the daemon 
instead of config.ipc_path
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/euphoria/bin/euphoria,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- euphoria    29 May 2005 17:16:10 -0000      1.28
+++ euphoria    29 May 2005 18:28:35 -0000      1.29
@@ -1,6 +1,6 @@
 #!/usr/bin/ruby -w
 
-# $Id: euphoria,v 1.28 2005/05/29 17:16:10 tsauerbeck Exp $
+# $Id: euphoria,v 1.29 2005/05/29 18:28:35 tsauerbeck Exp $
 
 require "ecore"
 require "ecore_x"
@@ -177,7 +177,7 @@
 
        def init_xmms
                @xmms = XmmsClient::XmmsClient.new("Euphoria")
-               @xmms.connect(@config.ipc_path)
+               @xmms.connect(ENV["XMMS_PATH"] || @config.ipc_path)
                @xmms.add_to_ecore_mainloop
 
                @xmms.on_disconnect do




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to