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

Function save_queue_file

gtk/src/queuehandler.c:1377–1395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1375}
1376
1377static void save_queue_file (signal_user_data_t *ud)
1378{
1379 GtkFileChooser *chooser;
1380 GtkWindow *hb_window;
1381
1382 hb_window = GTK_WINDOW(ghb_builder_widget("hb_window"));
1383 chooser = ghb_file_chooser_new(_("Export Queue"),
1384 hb_window,
1385 GTK_FILE_CHOOSER_ACTION_SAVE,
1386 _("_Save"),
1387 _("_Cancel"));
1388 gtk_file_chooser_set_current_name(chooser, "queue.json");
1389 ghb_file_chooser_set_initial_file(chooser,
1390 ghb_dict_get_string(ud->prefs, "ExportDirectory"));
1391
1392 ghb_file_chooser_set_modal(chooser, TRUE);
1393 g_signal_connect(G_OBJECT(chooser), "response", G_CALLBACK(save_queue_file_cb), ud);
1394 ghb_file_chooser_show(chooser);
1395}
1396
1397void ghb_add_to_queue_list (signal_user_data_t *ud, GhbValue *queueDict)
1398{

Callers 1

queue_export_action_cbFunction · 0.85

Calls 6

ghb_builder_widgetFunction · 0.85
ghb_file_chooser_newFunction · 0.85
ghb_dict_get_stringFunction · 0.85
ghb_file_chooser_showFunction · 0.85

Tested by

no test coverage detected