SHA256
1
0
forked from pool/peazip
peazip/peazip-help_path.patch
2018-02-16 15:22:41 +00:00

36 lines
1.2 KiB
Diff

Index: peazip-6.5.0.src/peach.pas
===================================================================
--- peazip-6.5.0.src.orig/peach.pas
+++ peazip-6.5.0.src/peach.pas
@@ -35341,7 +35341,7 @@ end;
procedure TForm_peach.baboutlocalhelpClick(Sender: TObject);
begin
-cp_open(executable_path+'peazip_help.pdf',desk_env);
+cp_open('/usr/share/doc/packages/peazip/peazip_help.pdf',desk_env);
end;
procedure TForm_peach.baboutsupportClick(Sender: TObject);
@@ -54349,7 +54349,7 @@ end;
procedure TForm_peach.mpeahelpofflineClick(Sender: TObject);
begin
//cp_open('http://www.peazip.org/peazip_help.pdf',desk_env);
-cp_open(executable_path+'peazip_help.pdf',desk_env);
+cp_open('/usr/share/doc/packages/peazip/peazip_help.pdf',desk_env);
end;
procedure TForm_peach.mRecent9Click(Sender: TObject);
Index: peazip-6.5.0.src/unit4.pas
===================================================================
--- peazip-6.5.0.src.orig/unit4.pas
+++ peazip-6.5.0.src/unit4.pas
@@ -122,7 +122,7 @@ end;
procedure TFormAbout.baboutlocalhelpClick(Sender: TObject);
begin
- cp_open(executable_path+'peazip_help.pdf',desk_env);
+ cp_open('/usr/share/doc/packages/peazip/peazip_help.pdf',desk_env);
end;
initialization