google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

gb.desktop does not recognizes ~ as the home folder #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using gambas 3.0 rc7, Archlinux

By executing Desktop.Open("~/Downloads") the interpreter thinks i'm trying to 
open <<file:///home/sebi/~/Downloads>>, when the location should be 
<<file:///home/sebi/Downloads>>

Original issue reported on code.google.com by sebi...@gmail.com on 28 Dec 2011 at 8:19

GoogleCodeExporter commented 9 years ago
It's not actually Gambas, but the xdg-util script that does not interpret "~". 
Because the Desktop.Open() argument is not a file path, but an URL.

But I could do the trick for it I think, so let's call this issue an 
enhancement!

Original comment by benoit.m...@gmail.com on 29 Dec 2011 at 8:50

GoogleCodeExporter commented 9 years ago
Done in revision #4357.

Original comment by benoit.m...@gmail.com on 29 Dec 2011 at 9:15