mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Bug [0001115] "Cannot open file with space, [ or ] characters in directory name"
This commit is contained in:
parent
6e14cfac7c
commit
cf95a7bcf9
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue