Re: [gnome-flashback] Future of the system tray
- From: Alberts Muktupāvels <alberts muktupavels gmail com>
- To: Mailing list for the Gnome Flashback project <gnome-flashback-list gnome org>
- Subject: Re: [gnome-flashback] Future of the system tray
- Date: Mon, 27 Apr 2015 20:28:22 +0300
Hi,
I have started to write library for this, but... There are already few things I dislike about this spec:
1. I don't get why spec use /StatusNotifierItem as dbus path not /org/freedesktop/StatusNotifierItem. Don't know if there are some recommended way or something like that, but mostly I see second version. If I would write library without looking at other libraries I would use second path and that would make library incompatible with existing items. I did not see anything about this in documentation/specification.
2. Spec should be called StatusNotifier not StatusNotifierItem. StatusNotifier has three items - StatusNotifierItem, StatusNotifierWatcher and StatusNotifierHost so i think spec should be just StatusNotifier.
3. Specification does not include any info about protocol version... I have no idea what should be put there.
4. Method/signal names probably could not be larger. Why the RegisterStatusNotifierItem, RegisterStatusNotifierHost. They could be simply RegisterItem, ReghisterHost.
5. There is signal for registered and unregistered items. But for host there is only registered signal. We need to know when hosts disappears. what I am supposed to do? emit registered signal (when host actually disappears) so item can then read IsStatusNotifierHostRegistered property to know that there is no hosts anymore so it should fallback to old try icon? I think it would make sense that there is unregistered signal for host too.
Then if we speak about Canonical indicators. There is watcher, but it does not emit signals when new items are registered or unregistered - I was thinking about watching org.kde.StatusNotifierWatcher so we can display items that are registered with it, but it just did not work.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]