diff --git a/interfaces/main.ui b/interfaces/main.ui index eb00b39..919036a 100644 --- a/interfaces/main.ui +++ b/interfaces/main.ui @@ -92,7 +92,7 @@ vertical - + True 0.0 True diff --git a/src/main.rs b/src/main.rs index 165959e..f86ba36 100644 --- a/src/main.rs +++ b/src/main.rs @@ -93,7 +93,7 @@ pub fn build_ui(application: &Application) { let mouse_switch: CheckButton = builder.object("mouseswitch").unwrap(); let play_button: Button = builder.object("playbutton").unwrap(); let progress_dialog: MessageDialog = builder.object("progress_dialog").unwrap(); - let progressbar: ProgressBar = builder.object("progressbar").unwrap(); + let progress_bar: ProgressBar = builder.object("progress_bar").unwrap(); let record_button: Button = builder.object("recordbutton").unwrap(); let record_time_label: Label = builder.object("record_time_label").unwrap(); let screen_grab_button: ToggleButton = builder.object("screen_grab_button").unwrap(); @@ -466,7 +466,7 @@ pub fn build_ui(application: &Application) { audio_process: None, saved_filename: None, unbound: None, - progress_widget: ProgressWidget::new(progress_dialog, progressbar), + progress_widget: ProgressWidget::new(progress_dialog, progress_bar), window: main_window.clone(), record_delay: delay_spin, record_wayland: glib::MainContext::default().block_on(WaylandRecorder::new())