diff options
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -541,6 +541,11 @@ void job_add_to_dbus_queue(Job *j) { if (j->in_dbus_queue) return; + if (set_isempty(j->manager->subscribed)) { + j->sent_dbus_new_signal = true; + return; + } + LIST_PREPEND(Job, dbus_queue, j->manager->dbus_job_queue, j); j->in_dbus_queue = true; } |