hal/hald util.c,1.8,1.9

David Zeuthen david at freedesktop.org
Wed Mar 2 11:22:12 PST 2005


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv22224/hald

Modified Files:
	util.c 
Log Message:
2005-03-02  Richard Hughes  <richard at hughsie.com>

	* doc/spec/hal-spec.xml.in: Removed all the 'system.' 
	prefixes to the ACPI and PMU objects, they serve no purpose
	other to confuse people.

	* hald/linux2/acpi.c (ac_adapter_refresh, button_refresh):
	Removed 'system.' prefix.
 
	* hald/linux2/pmu.c (ac_adapter_refresh): Removed 
	'system.' prefix.
 
	* hald/util.c: Updated comment regarding 'system.'
 


Index: util.c
===================================================================
RCS file: /cvs/hal/hal/hald/util.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- util.c	28 Feb 2005 19:43:29 -0000	1.8
+++ util.c	2 Mar 2005 19:22:10 -0000	1.9
@@ -773,9 +773,9 @@
  *
  *    "design voltage:          10800 mV"
  *
- *  then hal_util_set_string_elem_from_file (d, "system.battery.foo",
+ *  then hal_util_set_string_elem_from_file (d, "battery.foo",
  *  "/proc/acpi/battery/BAT0", "info", "design voltage", 1) will assign
- *  the string "mV" to the property "system.battery.foo" on d.
+ *  the string "mV" to the property "battery.foo" on d.
  *
  *  @param  d                   Device object
  *  @param  key                 Property name
@@ -813,9 +813,9 @@
  *
  *    "design voltage:          10800 mV"
  *
- *  then hal_util_set_int_elem_from_file (d, "system.battery.bar",
+ *  then hal_util_set_int_elem_from_file (d, "battery.bar",
  *  "/proc/acpi/battery/BAT0", "info", "design voltage", 0) will assign
- *  the integer 10800 to the property "system.battery.foo" on d.
+ *  the integer 10800 to the property "battery.foo" on d.
  *
  *  @param  d                   Device object
  *  @param  key                 Property name
@@ -862,9 +862,9 @@
  *
  *    "present:                 yes"
  *
- *  then hal_util_set_bool_elem_from_file (d, "system.battery.baz",
+ *  then hal_util_set_bool_elem_from_file (d, "battery.baz",
  *  "/proc/acpi/battery/BAT0", "info", "present", 0, "yes") will assign
- *  the boolean TRUE to the property "system.battery.baz" on d.
+ *  the boolean TRUE to the property "battery.baz" on d.
  *
  *  If, instead, the line was
  *




More information about the hal-commit mailing list