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