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



commit 5cdd348f63c7bcb3ce681027f9e7b3696018726e
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 6f292feb..64cecb52 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]