Patch by jylefort to only reset a notification's ID to 0 if it was the notification closed. This fixes bug #94.
This commit is contained in:
parent
cfdf35c002
commit
4eaae59a68
|
@ -1,3 +1,9 @@
|
|||
Sun Nov 05 11:50:44 PST 2006 Christian Hammond <chipx86@chipx86.com>
|
||||
|
||||
* libnotify/notification.c:
|
||||
- Patch by jylefort to only reset a notification's ID to 0 if it
|
||||
was the notification closed. This fixes bug #94.
|
||||
|
||||
========================= 0.4.3 =========================
|
||||
|
||||
Sun Oct 08 13:21:20 EDT 2006 Christian Hammond <chipx86@chipx86.com>
|
||||
|
|
|
@ -674,9 +674,11 @@ _close_signal_handler(DBusGProxy *proxy, guint32 id,
|
|||
NotifyNotification *notification)
|
||||
{
|
||||
if (id == notification->priv->id)
|
||||
{
|
||||
g_signal_emit(notification, signals[SIGNAL_CLOSED], 0);
|
||||
|
||||
notification->priv->id = 0;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue