| 2635 | } |
| 2636 | |
| 2637 | G_MODULE_EXPORT void |
| 2638 | queue_move_top_action_cb (GSimpleAction *action, GVariant *param, gpointer data) |
| 2639 | { |
| 2640 | GList * rows, * r; |
| 2641 | GtkListBox * lb; |
| 2642 | GtkListBoxRow * row; |
| 2643 | gint32 move_index; |
| 2644 | |
| 2645 | lb = GTK_LIST_BOX(ghb_builder_widget("queue_list")); |
| 2646 | rows = r = gtk_list_box_get_selected_rows(lb); |
| 2647 | |
| 2648 | move_index = 0; |
| 2649 | while (r != NULL) |
| 2650 | { |
| 2651 | row = (GtkListBoxRow *)r->data; |
| 2652 | queue_move_item(lb, row, move_index); |
| 2653 | r = r->next; |
| 2654 | move_index += 1; |
| 2655 | } |
| 2656 | |
| 2657 | g_list_free(rows); |
| 2658 | } |
| 2659 | |
| 2660 | G_MODULE_EXPORT void |
| 2661 | queue_move_bottom_action_cb (GSimpleAction *action, GVariant *param, |
nothing calls this directly
no test coverage detected