FIX: Bug [0001115] "Cannot open file with space, [ or ] characters in directory name"

This commit is contained in:
Alexander Koblov 2015-06-13 07:01:29 +00:00
commit cf95a7bcf9

View file

@ -462,9 +462,7 @@ begin
begin
if (DesktopEnv = DE_KDE) and (FindDefaultExecutablePath('kioclient') <> EmptyStr) then
sCmdLine:= 'kioclient exec ' + QuoteStr(URL) // Under KDE use "kioclient" to open files
else if (DesktopEnv = DE_XFCE) and (FindDefaultExecutablePath('exo-open') <> EmptyStr) then
sCmdLine:= 'exo-open ' + QuoteStr(FileNameToURI(URL)) // Under Xfce use "exo-open" to open files
else if HasGio then
else if HasGio and (DesktopEnv <> DE_XFCE) then
Result:= GioOpen(URL) // Under GNOME, Unity and LXDE use "GIO" to open files
else
begin