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



commit ed6db038319902a71520bb4fb57dcced70fe26fa
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 4028cf3f..5d6f696e 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]