On Tue, 2015-06-30 at 14:18 +0000, Alberts Muktupāvels wrote:
> > I'm a little confused, why do we want Items to register a name on the bus? I'm
>
> Because it is what spec says, no?
>
> http://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/
> "Register a StatusNotifierItem into the StatusNotifierWatcher, in the form of its full name on the session bus, for instance org.freedesktop.StatusNotifierItem-4077-1."
Ah, interesting. That's been added since we implemented the spec.
You can watch for when the connection drops off the bus as well. I don't
think there's a real difference between watching the name and the
connection.
> Did not understand part about not allowing name registrations... :(
For Ubuntu Personal and Ubuntu Phone we want to allow application
indicators in the convergence cases, but the confinement there doesn't
allow for name registrations on the dbus session bus.
On Tue, 2015-06-30 at 14:18 +0000, Alberts Muktupāvels wrote:
> > I'm a little confused, why do we want Items to register a name on the bus? I'm www.freedesktop .org/wiki/ Specifications/ StatusNotifierI tem/StatusNotif ierWatcher/ atcher, in the form of its full name on the session bus, for instance org.freedesktop .StatusNotifier Item-4077- 1."
>
> Because it is what spec says, no?
>
> http://
> "Register a StatusNotifierItem into the StatusNotifierW
Ah, interesting. That's been added since we implemented the spec.
> > not sure what benefit that has, and it makes things more difficult when we /github. com/albertsmukt upavels/ libstatus- notifier/ blob/master/ libstatus- notifier/ sn-watcher. c#L117
> > start looking at application confinement where we're not allowing name
> > registrations.
>
> For example it makes easier to watch when name (status notifier item) disappears from bus:
> https:/
You can watch for when the connection drops off the bus as well. I don't
think there's a real difference between watching the name and the
connection.
> Did not understand part about not allowing name registrations... :(
For Ubuntu Personal and Ubuntu Phone we want to allow application
indicators in the convergence cases, but the confinement there doesn't
allow for name registrations on the dbus session bus.