On Sun, Jun 06, 2010 at 06:11:29PM +0200, Guido Günther wrote:
> Hi Petter,
> On Sat, Jun 05, 2010 at 05:24:16PM +0200, Petter Reinholdtsen wrote:
> > [Guido Günther]
> > > If a notification disapears or not is handled by
> > > notify_notification_set_timeout. Did Ubuntu change something here?
> > > Maygbe setting it to NOTIFY_EXPIRES_NEVER as default?
> >
> > I do not know Ubuntu that well to tell. :)
> >
> > I believe it is possible to "revoke" notifications (Sune in the KDE
> That would make sense.
>
> > team demonstrated this), and believe it make sense for
> > krb5-auth-dialog to revoke the "about to expire" notification when the
> > "expired" notification is presented. This way at most one
> > notification will be active for a given ticket. Do you know how to do
> > this?
> There's notify_notification_close () which could possibly be used. I'll
> have a look but probably won't get around to this to soon.
Hmm...I just checked the source and what we're already doing is:
if (applet->priv->notification != NULL) {
notify_notification_close (applet->priv->notification, NULL);
g_object_unref (applet->priv->notification);
}
before displaying a new message. I think this is all what we can do from
an application perspektive. Seems to be a bug in Ubuntu's notification
system then or do you know about other ways to "revoke" notifications?
Cheers,
-- Guido
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]