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

Function update_queue_labels

gtk/src/callbacks.c:5127–5147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5125}
5126
5127static void
5128update_queue_labels(signal_user_data_t *ud)
5129{
5130 GtkWidget *button;
5131 int pending;
5132 char *str;
5133
5134 button = ghb_builder_widget("show_queue");
5135 pending = queue_pending_count(ud->queue);
5136
5137 if (pending > 0)
5138 {
5139 str = g_strdup_printf("%d", pending);
5140 ghb_button_set_indicator_label(GHB_BUTTON(button), str);
5141 g_free(str);
5142 }
5143 else
5144 {
5145 ghb_button_set_indicator_label(GHB_BUTTON(button), NULL);
5146 }
5147}
5148
5149void
5150ghb_hbfd(signal_user_data_t *ud, gboolean hbfd)

Callers 1

ghb_update_pendingFunction · 0.85

Calls 3

ghb_builder_widgetFunction · 0.85
queue_pending_countFunction · 0.85

Tested by

no test coverage detected