fix display of progress value when not available.
This commit is contained in:
parent
fd708dfd02
commit
3162d6569e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user