little improvements

This commit is contained in:
Salem Yaslem 2023-10-15 03:23:56 +03:00
parent 29b0a61915
commit aa9213a310
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkProgressBar" id="progressbar">
<object class="GtkProgressBar" id="progress_bar">
<property name="visible">True</property>
<property name="fraction">0.0</property>
<property name="show-text">True</property>

View File

@ -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())