diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | libnotify/notification.c | 2 |
3 files changed, 11 insertions, 0 deletions
@@ -13,3 +13,4 @@ Patch Writers: jensgr@gmx.net M.S. mderezynski + Ed Catmur <ed@catmur.co.uk> @@ -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: diff --git a/libnotify/notification.c b/libnotify/notification.c index 0ad5ee2..6e861f4 100644 --- a/libnotify/notification.c +++ b/libnotify/notification.c @@ -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 |