Closed rtgiskard closed 2 years ago
For gtk application(test with Gtk-3.0), generally the registered dbus interface include snippet like this:
<interface name="org.gtk.Application"> <method name="Activate"> <arg type="a{sv}" name="platform-data" direction="in"> </arg> </method>
Currently the member name is matched with the pattern in validators.py:
validators.py
_element_re = re.compile(r'^[A-Za-z_][A-Za-z0-9_]*$')
for which name with dash like platform-data will be invalid, the pattern need to be update to support gtk application
platform-data
add PR
For gtk application(test with Gtk-3.0), generally the registered dbus interface include snippet like this:
Currently the member name is matched with the pattern in
validators.py
:_element_re = re.compile(r'^[A-Za-z_][A-Za-z0-9_]*$')
for which name with dash like
platform-data
will be invalid, the pattern need to be update to support gtk application