Comment # 29 on bug 1176553 from
(In reply to xiaoguang wang from comment #28)
> (In reply to Jonathan Kang from comment #27)
> > But later on NetworkManager implemented `NMDevice.get_path()` and it's
> > designed
> > to return the actual pci path for that device interface. So gnome-shell
> > should
> > call `nm_object_get_path()` on the NMDevice instead to get the expected
> > value.
> 
> For C code we can use this way to get dbus path,
> > nm_object_get_path(NM_OBJECT(device))
> But for JS code it's impossible to do it like that. NMDevice needs to
> support nm_device_get_parent or nm_device_get_object to get NMObject, then
> do NMObject.get_path() to get dbus path.
> 
> Maybe NMDevice can add a function nm_device_get_dbus_path to get dbus path
> directly.

Personally, I don't think NM upstream will accept this solution.

Since this is an issue specific to openSUSE. Maybe we can create an issue at
gnome-shell's upstream and see what they suggest.


You are receiving this mail because: