diff options
author | Christian Hammond <chipx86@chipx86.com> | 2006-07-29 10:06:22 +0000 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2006-07-29 10:06:22 +0000 |
commit | b0dad66b71eccc20028dbf054aefcb7865e9b1aa (patch) | |
tree | 5d97879dc3da9d4c61fd2adfb0eb98458327b3a4 /libnotify | |
parent | 761ad2b8c75fad1ae6449abef1b414cd993c037d (diff) | |
download | libnotify-b0dad66b71eccc20028dbf054aefcb7865e9b1aa.tar.gz |
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.
Diffstat (limited to 'libnotify')
-rw-r--r-- | libnotify/notification.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |