Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:SRagavan
notification-daemon
fix-notify.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor