Commit 4e87958e authored by Federico Ceratto's avatar Federico Ceratto

Workaround for missing browser #914508 #909188

parent dead5932
tootle (0.2.0-2) UNRELEASED; urgency=medium
* Switch to static manpage (Closes: 909186)
* Switch to static manpage (Closes: #909186)
* Add workaround for missing browser (Closes: #914508, #909188)
-- Federico Ceratto <federico@debian.org> Sat, 24 Nov 2018 16:09:05 +0000
......
--- a/src/Desktop.vala
+++ b/src/Desktop.vala
@@ -7,7 +7,11 @@
}
catch (GLib.Error e){
warning ("Can't open %s: %s", uri, e.message);
- app.error (_("Error"), e.message);
+ if (e.message == "Operation not supported") {
+ app.error (_("Open this in a web browser:\n\n"+uri),"");
+ } else {
+ app.error (_("Error"), e.message);
+ }
}
}
001-insert-icon-search-path.patch
002-browser-not-found-fallback.patch
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