Update
This commit is contained in:
parent
fb83293f26
commit
aa37736189
|
@ -65,9 +65,9 @@ fn quick_message(message: &'static str) {
|
||||||
let result = dialog.run();
|
let result = dialog.run();
|
||||||
let cmd: String;
|
let cmd: String;
|
||||||
if result == gtk::ResponseType::No {
|
if result == gtk::ResponseType::No {
|
||||||
cmd = "/usr/local/bin/calamares-offline.sh".to_owned();
|
cmd = "/usr/local/bin/calamares-offline".to_owned();
|
||||||
} else if result == gtk::ResponseType::Yes {
|
} else if result == gtk::ResponseType::Yes {
|
||||||
cmd = "/usr/local/bin/calamares-online.sh".to_owned();
|
cmd = "/usr/local/bin/calamares-online".to_owned();
|
||||||
} else {
|
} else {
|
||||||
unsafe {
|
unsafe {
|
||||||
dialog.destroy();
|
dialog.destroy();
|
||||||
|
|
Loading…
Reference in New Issue