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

Function show_scan_progress

gtk/src/callbacks.c:1426–1445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424}
1425
1426static void
1427show_scan_progress(signal_user_data_t *ud)
1428{
1429 GtkWidget * widget;
1430 GtkProgressBar * progress;
1431 GtkLabel * label;
1432
1433 widget = ghb_builder_widget("SourceInfoBox");
1434 gtk_widget_set_visible(widget, FALSE);
1435
1436 widget = ghb_builder_widget("SourceScanBox");
1437 gtk_widget_set_visible(widget, TRUE);
1438
1439 progress = GTK_PROGRESS_BAR(ghb_builder_widget("scan_prog"));
1440 gtk_progress_bar_set_fraction(progress, 0);
1441
1442 label = GTK_LABEL(ghb_builder_widget("source_scan_label"));
1443 gtk_label_set_text( label, _("Scanning ...") );
1444
1445}
1446
1447static void
1448hide_scan_progress(signal_user_data_t *ud)

Callers 4

ghb_do_scan_listFunction · 0.85
ghb_do_scanFunction · 0.85
handle_media_changeFunction · 0.85
drive_changed_cbFunction · 0.85

Calls 1

ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected