summaryrefslogtreecommitdiff
path: root/defaults/gconf-defaults.xml
blob: 03340bd44d243b85979c6fcaa9715e7c1b3e0e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/">
  <interface name="org.gnome.GConf.Defaults">
    <!--
      includes: an array of GConf paths to copy from the
                callers GConf database to the system database
      excludes: an array of GConf paths to omit

      Copies values from the callers GConf database to the system-wide
      database. The subtree below each included path is copied recursively,
      skipping the excluded subtrees.
      To decide which PolicyKit privilege to require for the copying of
      each path in includes, the mechanism looks for a privilege with an
      annotation with key org.gnome.gconf.defaults.set-system.prefix whose
      value is a prefix of the path. If no privilege is found this way, the
      org.gnome.gconf.defaults.set-system privilege is required.
    -->
    <method name="SetSystem">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="includes" direction="in" type="as"/>
      <arg name="excludes" direction="in" type="as"/>
    </method>

    <!--
      path: a path to a gconf key
      value: a value, as encoded by gconf_value_encode

      Sets the key at path to value in the system-wide database.
      To decide which PolicyKit privilege to require for the copying of
      each path in includes, the mechanism looks for a privilege with an
      annotation with key org.gnome.gconf.defaults.set-system.prefix whose
      value is a prefix of the path. If no privilege is found this way, the
      org.gnome.gconf.defaults.set-system privilege is required.
    -->
    <method name="SetSystemValue">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="path"  direction="in" type="s"/>
      <arg name="value" direction="in" type="s"/>
    </method>

    <method name="CanSetSystem">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="includes" direction="in" type="as"/>
      <arg name="result" direction="out" type="u"/>
     </method>

    <signal name="SystemSet">
      <arg name="keys" type="as"/>
    </signal>
    <!--
      includes: an array of GConf paths to copy from the
                callers GConf database to the mandatory database
      excludes: an array of GConf paths to omit

      Copies values from the callers GConf database to the system-wide
      mandatory database. The subtree below each included path is copied
      recursively, skipping the excluded subtrees.
      To decide which PolicyKit privilege to require for the copying of
      each path in includes, the mechanism looks for a privilege with an
      annotation with key org.gnome.gconf.defaults.set-mandatory.prefix whose
      value is a prefix of the path. If no privilege is found this way, the
      org.gnome.gconf.defaults.set-mandatory privilege is required.
    -->
    <method name="SetMandatory">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="includes" direction="in" type="as"/>
      <arg name="excludes" direction="in" type="as"/>
    </method>

    <!--
      path: a path to a gconf key
      value: a value, as encoded by gconf_value_encode

      Sets the key at path to value in the system-wide mandatory database.
      To decide which PolicyKit privilege to require for the copying of
      each path in includes, the mechanism looks for a privilege with an
      annotation with key org.gnome.gconf.defaults.set-mandatory.prefix whose
      value is a prefix of the path. If no privilege is found this way, the
      org.gnome.gconf.defaults.set-mandatory privilege is required.
    -->
    <method name="SetMandatoryValue">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="path"  direction="in" type="s"/>
      <arg name="value" direction="in" type="s"/>
    </method>

    <!--
      Unsets keys in the system-wide mandatory GConf database, making the
      keys writable again. The subtree below each included path is copied
      recursively, skipping the excluded subtrees.
      To decide which PolicyKit privilege to require for the copying of
      each path in includes, the mechanism looks for a privilege with an
      annotation with key org.gnome.gconf.defaults.set-mandatory.prefix whose
      value is a prefix of the path. If no privilege is found this way, the
      org.gnome.gconf.defaults.set-mandatory privilege is required.
    -->
    <method name="UnsetMandatory">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="includes" direction="in" type="as"/>
      <arg name="excludes" direction="in" type="as"/>
    </method>

    <method name="CanSetMandatory">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="includes" direction="in" type="as"/>
      <arg name="result" direction="out" type="u"/>
    </method>

  </interface>
</node>