[gnome-music/wip/jfelder/mpris-cleanup: 10/23] mpris: Add PropertiesChanged signal to xml description



commit 56dffdff298069cb023dffa548c052f1d91be48f
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Mar 15 12:13:22 2019 +0100

    mpris: Add PropertiesChanged signal to xml description

 gnomemusic/mpris.py | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 0337ec9d..93d851f1 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -120,6 +120,11 @@ class MPRIS(DBusInterface):
                 <arg name='interface' direction='in' type='s'/>
                 <arg name='properties' direction='out' type='a{sv}'/>
             </method>
+            <signal name='PropertiesChanged'>
+                <arg name='interface_name' type='s' />
+                <arg name='changed_properties' type='a{sv}' />
+                <arg name='invalidated_properties' type='as' />
+            </signal>
         </interface>
         <interface name='org.mpris.MediaPlayer2'>
             <method name='Raise'>


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