编辑器
优化目录打开
This commit is contained in:
@@ -3193,6 +3193,8 @@ type tgtkapis = class() //gtk
|
|||||||
function openresourcemanager(p); //打开资源管理器
|
function openresourcemanager(p); //打开资源管理器
|
||||||
begin
|
begin
|
||||||
if ifstring(p) then
|
if ifstring(p) then
|
||||||
|
begin
|
||||||
|
if fileexists("","/usr/bin/caja") then
|
||||||
begin
|
begin
|
||||||
for i := length(p) downto 1 do
|
for i := length(p) downto 1 do
|
||||||
begin
|
begin
|
||||||
@@ -3202,6 +3204,8 @@ type tgtkapis = class() //gtk
|
|||||||
break;
|
break;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
return ;//
|
||||||
|
end
|
||||||
tsl_gtk_execsystem(format('nautilus "%s" &',p));
|
tsl_gtk_execsystem(format('nautilus "%s" &',p));
|
||||||
return 1;
|
return 1;
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user