Re: [gpm] [Patch] Remove the icon attachment when showing the battery capacity warning



On Fri, May 15, 2009 at 4:34 PM, Pramod Dematagoda
<pmd lotr gandalf gmail com> wrote:
> But the situation is this, this notification is being shown when GNOME
> starts loading, and in my laptop, this is when there is nothing visible
> in the screen at all apart from the wallpaper, so the notification gets
> attached to an icon which does not seem to exist at that time, which
> probably explains why the notification is just seen floating instead of
> showing up somewhere sensible. So this problem may not necessarily be
> something wrong with notification-daemon but with the issue that GPM
> shows the notification just too quickly to be attached to a present
> icon. If you could suggest what would be best in this case, I'll see
> what I can do. :)

Ohh, in that case we just need to add a delay to the icon showing up.
There are other notifications that do this already IIRC, just search
for g_timeout_add.

Richard.


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