/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Teddy Hogeborn
  • Date: 2015-08-02 16:57:09 UTC
  • Revision ID: teddy@recompile.se-20150802165709-k0vuxe3vjph3n5ss
Deprecate the D-Bus property "se.recompile.Mandos.Client.ObjectPath".

The D-Bus property "se.recompile.Mandos.Client.ObjectPath" is
unnecessary - is not used by mandos-monitor or mandos-ctl, and I
cannot see it being useful for anyone.

* DBUS-API (se.recompile.Mandos.Client.ObjectPath): Remove;
                                                    deprecated.
* mandos (ClientDBus.ObjectPath_dbus_property): Annotate as
                                                deprecated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1674
1674
    
1675
1675
    # ObjectPath - property
1676
1676
    @dbus_annotations(
1677
 
        {"org.freedesktop.DBus.Property.EmitsChangedSignal": "const"})
 
1677
        {"org.freedesktop.DBus.Property.EmitsChangedSignal": "const",
 
1678
         "org.freedesktop.DBus.Deprecated": "true"})
1678
1679
    @dbus_service_property(_interface, signature="o", access="read")
1679
1680
    def ObjectPath_dbus_property(self):
1680
1681
        return self.dbus_object_path # is already a dbus.ObjectPath