| 2382 | } |
| 2383 | |
| 2384 | G_MODULE_EXPORT void |
| 2385 | queue_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 | |
| 2409 | G_MODULE_EXPORT void |
| 2410 | ghb_queue_remove_row (GhbQueueRow *row) |
nothing calls this directly
no test coverage detected