编辑器
优化目录打开
This commit is contained in:
@@ -3194,13 +3194,17 @@ type tgtkapis = class() //gtk
|
|||||||
begin
|
begin
|
||||||
if ifstring(p) then
|
if ifstring(p) then
|
||||||
begin
|
begin
|
||||||
for i := length(p) downto 1 do
|
if fileexists("","/usr/bin/caja") then
|
||||||
begin
|
begin
|
||||||
if p[i]="/" then
|
for i := length(p) downto 1 do
|
||||||
begin
|
begin
|
||||||
tsl_gtk_execsystem(format('caja "%s" &',p[1:i]));
|
if p[i]="/" then
|
||||||
break;
|
begin
|
||||||
end
|
tsl_gtk_execsystem(format('caja "%s" &',p[1:i]));
|
||||||
|
break;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return ;//
|
||||||
end
|
end
|
||||||
tsl_gtk_execsystem(format('nautilus "%s" &',p));
|
tsl_gtk_execsystem(format('nautilus "%s" &',p));
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user