summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog8
-rw-r--r--libnotify/notification.c2
3 files changed, 11 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 3ea3dfc..3b27575 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,3 +13,4 @@ Patch Writers:
jensgr@gmx.net
M.S.
mderezynski
+ Ed Catmur <ed@catmur.co.uk>
diff --git a/ChangeLog b/ChangeLog
index 714e4bb..11f1563 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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