Commit 505cf31e authored by Michael Terry's avatar Michael Terry

BackendRemote: And handle the user specifying a non-utf8 folder

This should never happen. But it quiets valac.
parent ef8add0b
......@@ -83,7 +83,15 @@ public class BackendRemote : BackendFile
warning("%s", e.message);
}
return root.get_child_for_display_name(folder);
try {
return root.get_child_for_display_name(folder);
}
catch (Error e) {
warning("%s", e.message);
}
// Really?!
return root.get_child(folder);
}
public override bool is_native() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment