mirror of
https://github.com/libratbag/piper.git
synced 2026-02-20 15:43:51 -05:00
Ratbagd: emit notify::is-active when IsActive is changed
This commit is contained in:
committed by
Peter Hutterer
parent
5d81027e84
commit
2cec0e4e0e
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user