| 4107 | } |
| 4108 | |
| 4109 | void |
| 4110 | ghb_stop_encode_dialog_show (signal_user_data_t *ud) |
| 4111 | { |
| 4112 | GtkWindow *window = gtk_application_get_active_window( |
| 4113 | GTK_APPLICATION(g_application_get_default())); |
| 4114 | GtkWidget *dialog = ghb_cancel_dialog_new(window, _("Stop Encoding?"), |
| 4115 | _("Your movie will be lost if you don't continue encoding."), |
| 4116 | _("Cancel Current and Stop"), _("Cancel Current, Start Next"), |
| 4117 | _("Finish Current and Stop"), _("Continue Encoding")); |
| 4118 | g_signal_connect(dialog, "response", |
| 4119 | G_CALLBACK(stop_encode_dialog_response), ud); |
| 4120 | gtk_widget_set_visible(dialog, TRUE); |
| 4121 | } |
| 4122 | |
| 4123 | static void |
| 4124 | quit_dialog_response (GtkDialog *dialog, int response, gpointer data) |
no test coverage detected