Blivet UI Button
This commit is contained in:
parent
419f9b7aa7
commit
907a7f1498
@ -101,6 +101,18 @@ pub fn manual_partitioning_page(
|
||||
utility_buttons_box.append(&filesystem_table_refresh_button);
|
||||
utility_buttons_box.append(&filesystem_table_validate_button);
|
||||
|
||||
open_disk_utility_button.connect_clicked(clone!(
|
||||
#[weak]
|
||||
filesystem_table_refresh_button,
|
||||
move |_|
|
||||
{
|
||||
let command = std::process::Command::new("blivet-gui").status();
|
||||
if command.unwrap().success() {
|
||||
filesystem_table_refresh_button.emit_by_name("clicked", &[])
|
||||
}
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
filesystem_table_refresh_button.connect_clicked(clone!(
|
||||
#[weak]
|
||||
|
Loading…
Reference in New Issue
Block a user