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

Function queue_reset_action_cb

gtk/src/queuehandler.c:2384–2407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2382}
2383
2384G_MODULE_EXPORT void
2385queue_reset_action_cb (GSimpleAction *action, GVariant *param,
2386 signal_user_data_t *ud)
2387{
2388 GList * rows, * r;
2389 GtkListBox * lb;
2390 GtkListBoxRow * row;
2391
2392 lb = GTK_LIST_BOX(ghb_builder_widget("queue_list"));
2393 rows = r = gtk_list_box_get_selected_rows(lb);
2394
2395 while (r != NULL)
2396 {
2397 row = (GtkListBoxRow *)r->data;
2398 ghb_queue_update_status(ud, gtk_list_box_row_get_index(row), GHB_QUEUE_PENDING);
2399 r = r->next;
2400 }
2401 ghb_save_queue(ud->queue);
2402 queue_update_current_stats(ud);
2403 ghb_queue_select_log(ud);
2404 ghb_update_pending(ud);
2405 ghb_queue_buttons_grey(ud);
2406 g_list_free(rows);
2407}
2408
2409G_MODULE_EXPORT void
2410ghb_queue_remove_row (GhbQueueRow *row)

Callers

nothing calls this directly

Calls 7

ghb_builder_widgetFunction · 0.85
ghb_queue_update_statusFunction · 0.85
ghb_save_queueFunction · 0.85
ghb_queue_select_logFunction · 0.85
ghb_update_pendingFunction · 0.85
ghb_queue_buttons_greyFunction · 0.85

Tested by

no test coverage detected