Author: patrys Date: Tue Jan 15 14:35:38 2008 GMT Module: SOURCES Tag: HEAD ---- Log message: - missing from the latest tarball
---- Files affected: SOURCES: gnome-panel-clock-mechanism.conf (NONE -> 1.1) (NEW), gnome-panel-clock-mechanism.policy (NONE -> 1.1) (NEW), gnome-panel-clock-mechanism.service.in (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/gnome-panel-clock-mechanism.conf diff -u /dev/null SOURCES/gnome-panel-clock-mechanism.conf:1.1 --- /dev/null Tue Jan 15 15:35:38 2008 +++ SOURCES/gnome-panel-clock-mechanism.conf Tue Jan 15 15:35:33 2008 @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> + +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + + <!-- Only root can own the service --> + <policy user="root"> + <allow own="org.gnome.ClockApplet.Mechanism"/> + <allow send_interface="org.gnome.ClockApplet.Mechanism.SetTimezoneInterface"/> + </policy> + + <!-- Allow anyone to invoke methods on the interfaces --> + <policy context="default"> + <allow send_interface="org.gnome.ClockApplet.Mechanism.SetTimezoneInterface"/> + </policy> + +</busconfig> ================================================================ Index: SOURCES/gnome-panel-clock-mechanism.policy diff -u /dev/null SOURCES/gnome-panel-clock-mechanism.policy:1.1 --- /dev/null Tue Jan 15 15:35:38 2008 +++ SOURCES/gnome-panel-clock-mechanism.policy Tue Jan 15 15:35:33 2008 @@ -0,0 +1,37 @@ +-<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC + "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" + "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> + +<!-- needs i18n work --> + +<policyconfig> + + <action id="org.gnome.clockapplet.mechanism.settimezone"> + <description>Change system time zone</description> + <message>Changing the system time zone requires privileges.</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep_always</allow_active> + </defaults> + </action> + + <action id="org.gnome.clockapplet.mechanism.settime"> + <description>Change system time</description> + <message>Changing the system time requires privileges.</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep_always</allow_active> + </defaults> + </action> + + <action id="org.gnome.clockapplet.mechanism.configurehwclock"> + <description>Configure hardware clock</description> + <message>Configuring the hardware clock requires privileges.</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_self_keep_always</allow_active> + </defaults> + </action> + +</policyconfig> ================================================================ Index: SOURCES/gnome-panel-clock-mechanism.service.in diff -u /dev/null SOURCES/gnome-panel-clock-mechanism.service.in:1.1 --- /dev/null Tue Jan 15 15:35:38 2008 +++ SOURCES/gnome-panel-clock-mechanism.service.in Tue Jan 15 15:35:33 2008 @@ -0,0 +1,4 @@ +[D-BUS Service] +Name=org.gnome.ClockApplet.Mechanism [EMAIL PROTECTED]@/gnome-clock-applet-mechanism +User=root ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
