Re: Signalling when the desktop is loaded


2009/8/11 Frederic Peters <fpeters gnome org>:
> Cody Russell wrote:
>> So I was talking briefly to vuntz in irc yesterday about wanting to have
>> some kind of mechanism to find out when the desktop session is ready
>> (ie, not once Nautilus and panel are launched, but when they are
>> actually pretty usable and done loading stuff).
>> In terms of the panel, vuntz suggested maybe adding a signal in
>> panel_applet_queue_initial_unhide_toplevels() under org.gnome.Panel.
>> In Nautilus there is FMDesktopIconView "end_loading" signal that seems
>> to work well.
>> It would be nice to have a single signal that could be emitted once both
>> of these are finished, so I wanted to post here and see what others
>> think and get suggestions on where this might be done.
> I don't know your precise usecase, but perhaps gnome-session could
> signal over D-Bus when it changes phase ?  (it already has a
> SessionRunning signal, sent once it's done)

The change of phase in gnome-session only means all apps from that
phase are successfully running. It doesn't mean the apps are already
usable. At some point I added a "SessionRunning" signal to session
manager to announce gnome-session entered RUNNING phase. This change
got lost somehow when merging the new code to master... This is not
what is being proposed here anyway.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]