Re: [dbus PATCH 04/15] Implement Active property for Interface Interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 06, 2018 at 05:36:44PM -0400, Anya Harter wrote:
> Signed-off-by: Anya Harter <aharter@xxxxxxxxxx>
> ---
>  data/org.libvirt.Interface.xml |  4 ++++
>  src/interface.c                | 22 ++++++++++++++++++++++
>  2 files changed, 26 insertions(+)
> 
> diff --git a/data/org.libvirt.Interface.xml b/data/org.libvirt.Interface.xml
> index e6d9f2a..f50bc37 100644
> --- a/data/org.libvirt.Interface.xml
> +++ b/data/org.libvirt.Interface.xml
> @@ -13,5 +13,9 @@
>          value="See https://libvirt.org/html/libvirt-libvirt-interface.html#virInterfaceGetMACString"/>
>        <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
>      </property>
> +    <property name="Active" type="b" access="read">
> +      <annotation name="org.gtk.GDBus.DocString"
> +        value="See https://libvirt.org/html/libvirt-libvirt-interface.html#virInterfaceIsActive"/>
> +    </property>

There is no "org.freedesktop.DBus.Property.EmitsChangedSignal"
annotation and the default value is "true".  We need to change the
default value so there needs to be

<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>

at the same level as <property ...> elements.

For example you can check "data/org.libvirt.Domain.xml".

Otherwise looks good.

Pavel

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux