Comment 4 for bug 94752

Revision history for this message
Stephen Cook (siti) wrote : Re: Startup notification doesn't work when gaim is started without a window (only in the notification area).

This bug is still in feisty.

To reproduce:
Right click on gaim in the notification tray and uncheck show buddy list.
Close gaim
Reopen it

This will only work if gaim does not open any windows, e.g. it does not join an irc server/channel.

The reason for this bug is that gtk+ automatically ends the startup notification when a window is created. In this case no window is created so it just sits there and finally times out.

To fix this:
gdk_notify_startup_complete(); must be called manually when gaim has done all the initiation. More information here: http://developer.gnome.org/doc/API/2.0/gdk/gdk-General.html#id2523523