File fix-notify.diff of Package notification-daemon

--- src/daemon/daemon.c	2007-06-29 09:05:00.648915809 +0200
+++ src/daemon/daemon.c	2007-06-29 09:06:05.023101535 +0200
@@ -842,6 +842,19 @@
 	guint return_id;
 	gchar *sender;
 	gint i;
+	char urg = 0;
+ 	gboolean popup_enabled;
+ 	popup_enabled = gconf_client_get_bool(gconf_client, "/apps/notification-daemon/popup_enabled", NULL);
+ 
+ 	data = (GValue *)g_hash_table_lookup(hints, "urgency");
+ 	if (data != NULL)
+ 	{
+ 		urg = g_value_get_uchar (data);
+ 	}
+ 
+ 	if (!popup_enabled && urg < 2) {
+ 		dbus_g_method_return(context, 0); return TRUE; 
+  	}
 
 	if (id > 0)
 	{
openSUSE Build Service is sponsored by