fix display of progress value when not available.

This commit is contained in:
progandy 2012-10-08 00:35:38 +02:00
parent fd708dfd02
commit 3162d6569e

View File

@ -296,7 +296,7 @@ void notify(DBusMessage * dmsg)
const char *fgcolor = NULL; const char *fgcolor = NULL;
const char *bgcolor = NULL; const char *bgcolor = NULL;
int urgency = 1; int urgency = 1;
int progress = 0; int progress = -1;
notification *n = malloc(sizeof(notification)); notification *n = malloc(sizeof(notification));
dbus_uint32_t replaces_id = 0; dbus_uint32_t replaces_id = 0;
dbus_int32_t expires = -1; dbus_int32_t expires = -1;