Ratbagd: emit notify::is-active when IsActive is changed

This commit is contained in:
Jente Hidskes
2017-08-16 23:24:08 +02:00
committed by Peter Hutterer
parent 5d81027e84
commit 2cec0e4e0e

View File

@@ -455,6 +455,10 @@ class RatbagdResolution(_RatbagdDBus):
def __init__(self, object_path):
_RatbagdDBus.__init__(self, "Resolution", object_path)
def _on_properties_changed(self, proxy, changed_props, invalidated_props):
if "IsActive" in changed_props.keys():
self.notify("is-active")
@GObject.Property
def index(self):
"""The index of this resolution."""