mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Tab context menu under GTK2
FIX: Help under Linux
This commit is contained in:
parent
7dcbbf953c
commit
63f93435e8
3 changed files with 2891 additions and 2887 deletions
|
|
@ -55,7 +55,7 @@ uses
|
|||
|
||||
procedure TdmHelpManager.DataModuleCreate(Sender: TObject);
|
||||
begin
|
||||
HTMLHelpDatabase.BaseURL:= gpExePath + 'doc'
|
||||
HTMLHelpDatabase.BaseURL:= 'file://' + gpExePath + 'doc';
|
||||
end;
|
||||
|
||||
initialization
|
||||
|
|
|
|||
|
|
@ -993,7 +993,11 @@ procedure TfrmMain.nbPageMouseUp(Sender: TObject; Button: TMouseButton;
|
|||
var
|
||||
PopUpPoint: TPoint;
|
||||
begin
|
||||
{$IFDEF LCLGTK2}
|
||||
if Button = mbMiddle then
|
||||
{$ELSE}
|
||||
if Button = mbRight then
|
||||
{$ENDIF}
|
||||
begin
|
||||
PopUpPoint:= (Sender as TNoteBook).ClientToScreen(Point(X, Y));
|
||||
pmTabMenu.PopUp(PopUpPoint.x, PopUpPoint.y);
|
||||
|
|
@ -1002,7 +1006,7 @@ end;
|
|||
|
||||
procedure TfrmMain.NoteBookCloseTabClicked(Sender: TObject);
|
||||
begin
|
||||
With (Sender As TPage) do
|
||||
with (Sender As TPage) do
|
||||
begin
|
||||
RemovePage(Parent as TNoteBook, PageIndex);
|
||||
end;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue