MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / ghb_update_pending

Function ghb_update_pending

gtk/src/callbacks.c:4297–4317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4295}
4296
4297void
4298ghb_update_pending(signal_user_data_t *ud)
4299{
4300 GtkLabel *label;
4301 gint pending;
4302 gchar *str = NULL;
4303
4304 pending = queue_pending_count(ud->queue);
4305 if (pending < 0) pending = 0;
4306
4307 str = g_strdup_printf(ngettext("%d encode pending", "%d encodes pending",
4308 pending), pending);
4309
4310 label = GTK_LABEL(ghb_builder_widget("pending_status"));
4311 gtk_label_set_text(label, pending ? str : ""); // Hide this label if no pending items
4312 label = GTK_LABEL(ghb_builder_widget("queue_status_label"));
4313 gtk_label_set_text(label, str);
4314 g_free(str);
4315
4316 update_queue_labels(ud);
4317}
4318
4319void
4320ghb_start_next_job(signal_user_data_t *ud)

Callers 10

ghb_add_title_to_queueFunction · 0.85
ghb_start_next_jobFunction · 0.85
ghb_reload_queueFunction · 0.85
queue_edit_action_cbFunction · 0.85
queue_reset_action_cbFunction · 0.85
ghb_queue_remove_rowFunction · 0.85

Calls 3

queue_pending_countFunction · 0.85
ghb_builder_widgetFunction · 0.85
update_queue_labelsFunction · 0.85

Tested by

no test coverage detected