Patch by Ed Catmur to reset a notification's ID if notify_notification_show() is called on a notification that had already been closed. This causes the notification to receive a new ID. This closes ticket #78.

This commit is contained in:
Christian Hammond 2006-07-29 10:06:22 +00:00
parent 761ad2b8c7
commit b0dad66b71
3 changed files with 11 additions and 0 deletions

View File

@ -13,3 +13,4 @@ Patch Writers:
jensgr@gmx.net
M.S.
mderezynski
Ed Catmur <ed@catmur.co.uk>

View File

@ -1,3 +1,11 @@
Sat Jul 29 03:02:18 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* libnotify/notification.c:
- Patch by Ed Catmur to reset a notification's ID if
notify_notification_show() is called on a notification that had
already been closed. This causes the notification to receive a new
ID. This closes ticket #78.
Thu Jul 13 00:44:29 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* configure.ac:

View File

@ -675,6 +675,8 @@ _close_signal_handler(DBusGProxy *proxy, guint32 id,
{
if (id == notification->priv->id)
g_signal_emit(notification, signals[SIGNAL_CLOSED], 0);
notification->priv->id = 0;
}
static void