This moves the UserAccounts panel to a page in the System panel. This simplifies a lot of the existing code in the UserAccounts panel. I did minimal changes to the sub dialogs so that those can be touched in following changes, making it easier to review this one alone. The main panel widget is now CcUsersPage, and is an AdwNavigationView widget that has a default "current_user_page" page. Each page is a CcUserPage (careful with the one-character difference between these two classes). Each CcUserPage has an associated ActUser object.
50 lines
1.5 KiB
XML
50 lines
1.5 KiB
XML
<!DOCTYPE node PUBLIC
|
|
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" [
|
|
<!ENTITY ERROR_NO_SUCH_DEVICE "net.reactivated.Fprint.Error.NoSuchDevice">
|
|
]>
|
|
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
|
|
<interface name="net.reactivated.Fprint.Manager">
|
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol"
|
|
value="fprint_manager" />
|
|
|
|
<!-- ************************************************************ -->
|
|
|
|
<method name="GetDevices">
|
|
<arg type="ao" name="devices" direction="out">
|
|
<doc:doc><doc:summary>An array of object paths for devices.</doc:summary></doc:doc>
|
|
</arg>
|
|
|
|
<doc:doc>
|
|
<doc:description>
|
|
<doc:para>
|
|
Enumerate all the fingerprint readers attached to the system. If there are
|
|
no devices available, an empty array is returned.
|
|
</doc:para>
|
|
</doc:description>
|
|
</doc:doc>
|
|
</method>
|
|
|
|
<!-- ************************************************************ -->
|
|
|
|
<method name="GetDefaultDevice">
|
|
<arg type="o" name="device" direction="out">
|
|
<doc:doc><doc:summary>The object path for the default device.</doc:summary></doc:doc>
|
|
</arg>
|
|
|
|
<doc:doc>
|
|
<doc:description>
|
|
<doc:para>
|
|
Returns the default fingerprint reader device.
|
|
</doc:para>
|
|
</doc:description>
|
|
|
|
<doc:errors>
|
|
<doc:error name="&ERROR_NO_SUCH_DEVICE;">if the device does not exist</doc:error>
|
|
</doc:errors>
|
|
</doc:doc>
|
|
</method>
|
|
|
|
</interface>
|
|
</node>
|
|
|