format
This commit is contained in:
@@ -21,7 +21,7 @@ dbus_class!("net.ddns.chiocciolo.waydrop.term", class Term (tx: Sender<RpcComman
|
||||
fn toggle(&this) -> bool{
|
||||
this.tx.send(RpcCommand::Toggle).is_ok()
|
||||
}
|
||||
|
||||
|
||||
fn run_shell(&this, cwd: String, shell: Vec<String>) -> bool {
|
||||
let cwd = if cwd != "" {Some(cwd)} else {None };
|
||||
this.tx.send(RpcCommand::RunShell{cwd, shell}).is_ok()
|
||||
|
||||
Reference in New Issue
Block a user