docs, workflow change
docs were updated, and going to be doing all primary (V1+) work in master branch. when ready for a release, i'll merge it into that particular branch.
This commit is contained in:
@@ -9,21 +9,12 @@ func NewItem(conn *dbus.Conn, path dbus.ObjectPath) (item *Item) {
|
||||
|
||||
item = &Item{
|
||||
Conn: conn,
|
||||
Dbus: conn.Object(DbusServiceName, path),
|
||||
Dbus: conn.Object(DbusService, path),
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// Path returns the path of the underlying Dbus connection.
|
||||
func (i Item) Path() (path dbus.ObjectPath) {
|
||||
|
||||
// Remove this method in V1. It's bloat since we now have an exported Dbus.
|
||||
path = i.Dbus.Path()
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// Label returns the label ("name") of an Item.
|
||||
func (i *Item) Label() (label string, err error) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user