[Galago-commits] r2935 - in trunk/libnotify: . libnotify
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Sun Nov 5 11:53:12 PST 2006
Author: chipx86
Date: 2006-11-05 11:52:25 -0800 (Sun, 05 Nov 2006)
New Revision: 2935
Modified:
trunk/libnotify/ChangeLog
trunk/libnotify/libnotify/notification.c
Log:
Patch by jylefort to only reset a notification's ID to 0 if it was the notification closed. This fixes bug #94.
Modified: trunk/libnotify/ChangeLog
===================================================================
--- trunk/libnotify/ChangeLog 2006-10-25 00:29:34 UTC (rev 2934)
+++ trunk/libnotify/ChangeLog 2006-11-05 19:52:25 UTC (rev 2935)
@@ -1,3 +1,9 @@
+Sun Nov 05 11:50:44 PST 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * libnotify/notification.c:
+ - Patch by jylefort to only reset a notification's ID to 0 if it
+ was the notification closed. This fixes bug #94.
+
========================= 0.4.3 =========================
Sun Oct 08 13:21:20 EDT 2006 Christian Hammond <chipx86 at chipx86.com>
Modified: trunk/libnotify/libnotify/notification.c
===================================================================
--- trunk/libnotify/libnotify/notification.c 2006-10-25 00:29:34 UTC (rev 2934)
+++ trunk/libnotify/libnotify/notification.c 2006-11-05 19:52:25 UTC (rev 2935)
@@ -674,9 +674,11 @@
NotifyNotification *notification)
{
if (id == notification->priv->id)
+ {
g_signal_emit(notification, signals[SIGNAL_CLOSED], 0);
- notification->priv->id = 0;
+ notification->priv->id = 0;
+ }
}
static void
More information about the galago-commits
mailing list