On 8/19/05, Danny Milosavljevic <[EMAIL PROTECTED]> wrote:
> Be careful. Trayicon stuff is being phased out (i.e. removed) currently
> by gnome. It will be replaced by a notification dbus session service.
> Exposing an implementation detail ("a widget that is in the system
> tray") was never a good idea to begin with and now will be rectified.
> 
> I just want to make sure that however reads that knows that what you
> would be doing is waste time with getting tray icons to work/extending
> them on gnome, when the systray which actually shows them will soon
> vanish (it already is disabled by default)
> 
> So at least dont play around with adding balloon hints to tray icons and
> such, because they will be replaced by something totally different.
> 
> The new way is that you ask the notification service to display a
> notification of a certain kind and urgency and text (and icon) and it
> will queue it, and show it when appropriate. (i.e. the client
> application does not have to care about presentation, timing,
> blinking/highlighting, whatever anymore)
> 
> like
>   session := get_user_session();
>   s :=
> session.get_service('org.freedesktop.whateveritiscalledNotification');
>   id := s.add_notification(Info, 'Your server is burning');
> 
> Plus, having trayicons as normal widgets in G* leads people to abusing
> the systray for stuff other than urgent notifications, see ms windows.
> Over there everything and their brother has a trayicon, even the instant
> messenger has one, for some weird reason.
> 
> Soon we'd see "important" music player icons in the systray and whatnot
> (that "notify" you of the currently playing track, ugh :))

Thanks for the info, i wasn't going to add fancy stuff soon, well
people will always abuse the tray since it hasn't got a predefined
pourpose, it was designed for things like services, apps that do
something in the background without much input like antiviruses, net
monitoring and such, on the other hand i prefer having tray icons on
the taskbar instead of hundreds of taskbar buttons and in MS
environment (maybe KDE too) the icons can hide themselvs to keep the
bar clean, i just remembered KDE did what you didn't want it to do,
that is media players can have their own minimized version of skin ala
mediaplayer, just wish the gnome people will add some of functions to
get the tray position in case they forget about baloon tips, in winapi
trayicons are not windows as some may think and this kinda makes
things ugly since older versions of win have limitations.

Razvan

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to