libnotify/nondefault-actions.patch
2009-11-12 02:15:10 +00:00

13 lines
641 B
Diff

diff -up libnotify-0.4.5/libnotify/notification.c.nondefault libnotify-0.4.5/libnotify/notification.c
--- libnotify-0.4.5/libnotify/notification.c.nondefault 2009-11-11 20:55:41.327192032 -0500
+++ libnotify-0.4.5/libnotify/notification.c 2009-11-11 20:55:27.695207227 -0500
@@ -1268,7 +1268,7 @@ notify_notification_add_action(NotifyNot
pair->free_func = free_func;
g_hash_table_insert(priv->action_map, g_strdup(action), pair);
- if (notification->priv->has_nondefault_actions &&
+ if (!notification->priv->has_nondefault_actions &&
g_ascii_strcasecmp(action, "default"))
{
notification->priv->has_nondefault_actions = TRUE;