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:
parent
761ad2b8c7
commit
b0dad66b71
1
AUTHORS
1
AUTHORS
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue