Author: kkaempf Date: Mon Feb 9 16:35:40 2009 New Revision: 55364 URL: http://svn.opensuse.org/viewcvs/yast?rev=55364&view=rev Log: retrieve object path (/SCR) from service instead of hard-coding it in the source Modified: trunk/core/dbus/SCR_service/test_SCR_dbus_server.rb.in Modified: trunk/core/dbus/SCR_service/test_SCR_dbus_server.rb.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/dbus/SCR_service/test_SCR_dbus_server.rb.in?rev=55364&r1=55363&r2=55364&view=diff ============================================================================== --- trunk/core/dbus/SCR_service/test_SCR_dbus_server.rb.in (original) +++ trunk/core/dbus/SCR_service/test_SCR_dbus_server.rb.in Mon Feb 9 16:35:40 2009 @@ -24,7 +24,7 @@ assert yast # Get the object from this service - objYast = yast.object("/SCR") + objYast = yast.object("/#{yast.root}") assert objYast poiSCR = DBus::ProxyObjectInterface.new(objYast, "@YAST_SCR_SERVICE_METHODS@") @@ -42,7 +42,7 @@ assert yast # Get the object from this service - objYast = yast.object("/SCR") + objYast = yast.object("/#{yast.root}") assert objYast poiSCR = DBus::ProxyObjectInterface.new(objYast, "@YAST_SCR_SERVICE_METHODS@") -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org