Mailinglist Archive: yast-commit (650 mails)

< Previous Next >
[yast-commit] r55364 - /trunk/core/dbus/SCR_service/test_SCR_dbus_server.rb.in
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Mon, 09 Feb 2009 15:35:40 -0000
  • Message-id: <E1LWYAe-0005Mz-RS@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages