chiark / gitweb /
Update the queue up to every 15s or so to stop expected started times
[disorder] / disobedience / queue-generic.c
index de86f299894f3a9dfa5b1556dd2f592c08f70b1e..5d44ffa1ff7cc0620cc07de133d32a753b1b2294 100644 (file)
@@ -323,6 +323,8 @@ void ql_new_queue(struct queuelike *ql,
                          ql->ncolumns + QUEUEPOINTER_COLUMN, nqd->new,
                          -1);
       it = gtk_tree_model_iter_next(GTK_TREE_MODEL(ql->store), iter);
+      /* We'll need the new start time */
+      nqd->new->when = q->when;
       ++kept;
     } else {
       /* Delete this row (and move iter to the next one) */