Fixed opening files in Open dialog.
This commit is contained in:
BIN
output/tim2view_linux_i386
Normal file
BIN
output/tim2view_linux_i386
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
tim2view.lpi
10
tim2view.lpi
@@ -26,8 +26,8 @@
|
|||||||
<UseVersionInfo Value="True"/>
|
<UseVersionInfo Value="True"/>
|
||||||
<AutoIncrementBuild Value="True"/>
|
<AutoIncrementBuild Value="True"/>
|
||||||
<MajorVersionNr Value="1"/>
|
<MajorVersionNr Value="1"/>
|
||||||
<RevisionNr Value="88"/>
|
<RevisionNr Value="90"/>
|
||||||
<BuildNr Value="20"/>
|
<BuildNr Value="33"/>
|
||||||
<StringTable CompanyName="Lab 313" FileDescription="The best TIMs tool ever!:)" ProductVersion=""/>
|
<StringTable CompanyName="Lab 313" FileDescription="The best TIMs tool ever!:)" ProductVersion=""/>
|
||||||
</VersionInfo>
|
</VersionInfo>
|
||||||
<BuildModes Count="6">
|
<BuildModes Count="6">
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
</Target>
|
</Target>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
||||||
|
<Libraries Value="$(TyphonDir)\..\binLibraries\$(TargetCPU)-$(TargetOS)"/>
|
||||||
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
@@ -80,6 +81,7 @@
|
|||||||
</Target>
|
</Target>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
||||||
|
<Libraries Value="$(TyphonDir)\..\binLibraries\$(TargetCPU)-$(TargetOS)"/>
|
||||||
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
@@ -119,6 +121,7 @@
|
|||||||
</Target>
|
</Target>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
||||||
|
<Libraries Value="$(TyphonDir)\..\binLibraries\$(TargetCPU)-$(TargetOS)"/>
|
||||||
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
@@ -158,6 +161,7 @@
|
|||||||
</Target>
|
</Target>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
||||||
|
<Libraries Value="$(TyphonDir)\..\binLibraries\$(TargetCPU)-$(TargetOS)"/>
|
||||||
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
@@ -197,6 +201,7 @@
|
|||||||
</Target>
|
</Target>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
||||||
|
<Libraries Value="$(TyphonDir)\..\binLibraries\$(TargetCPU)-$(TargetOS)"/>
|
||||||
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
@@ -315,6 +320,7 @@
|
|||||||
</Target>
|
</Target>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
<IncludeFiles Value="$(ProjOutDir);lazpaint\bgrabitmap"/>
|
||||||
|
<Libraries Value="$(TyphonDir)\..\binLibraries\$(TargetCPU)-$(TargetOS)"/>
|
||||||
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
<OtherUnitFiles Value="lazpaint\bgrabitmap"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ unit ucommon;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
const
|
const
|
||||||
cProgramName = 'Tim2View SVN.r89 by [Lab 313] (for ' +
|
cProgramName = 'Tim2View SVN.r90 by [Lab 313] (for ' +
|
||||||
{$IFDEF Linux}'Linux' + {$IFEND}
|
{$IFDEF Linux}'Linux' + {$IFEND}
|
||||||
{$IFDEF Darwin}'Mac OS X' + {$IFEND}
|
{$IFDEF Darwin}'Mac OS X' + {$IFEND}
|
||||||
{$IFDEF Windows}'Windows' + {$IFEND}
|
{$IFDEF Windows}'Windows' + {$IFEND}
|
||||||
|
|||||||
@@ -494,7 +494,7 @@ object frmMain: TfrmMain
|
|||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnDropFiles = FormDropFiles
|
OnDropFiles = FormDropFiles
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '1.4.2.0'
|
LCLVersion = '1.5'
|
||||||
object pnlStatus: TPanel
|
object pnlStatus: TPanel
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 30
|
Height = 30
|
||||||
@@ -673,7 +673,7 @@ object frmMain: TfrmMain
|
|||||||
TitleFont.Name = 'Tahoma'
|
TitleFont.Name = 'Tahoma'
|
||||||
ColWidths = (
|
ColWidths = (
|
||||||
102
|
102
|
||||||
150
|
133
|
||||||
)
|
)
|
||||||
Cells = (
|
Cells = (
|
||||||
10
|
10
|
||||||
@@ -873,7 +873,7 @@ object frmMain: TfrmMain
|
|||||||
Title = 'Please, select File...'
|
Title = 'Please, select File...'
|
||||||
DefaultExt = '.bin'
|
DefaultExt = '.bin'
|
||||||
Filter = 'All Files (*.*)|*.*'
|
Filter = 'All Files (*.*)|*.*'
|
||||||
Options = [ofHideReadOnly, ofNoChangeDir, ofAllowMultiSelect, ofNoNetworkButton, ofEnableSizing, ofForceShowHidden]
|
Options = [ofHideReadOnly, ofNoChangeDir, ofAllowMultiSelect, ofNoNetworkButton, ofOldStyleDialog, ofEnableSizing, ofForceShowHidden]
|
||||||
left = 560
|
left = 560
|
||||||
top = 112
|
top = 112
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -317,7 +317,9 @@ end;
|
|||||||
|
|
||||||
procedure TfrmMain.actAddToSendtoExecute(Sender: TObject);
|
procedure TfrmMain.actAddToSendtoExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
|
{$IFDEF windows}
|
||||||
Settings.AddToSendTo(not (Sender as TAction).Checked);
|
Settings.AddToSendTo(not (Sender as TAction).Checked);
|
||||||
|
{$IFEND}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrmMain.actChangeBackColorExecute(Sender: TObject);
|
procedure TfrmMain.actChangeBackColorExecute(Sender: TObject);
|
||||||
|
|||||||
@@ -64,8 +64,8 @@ const
|
|||||||
|
|
||||||
{ TSettings }
|
{ TSettings }
|
||||||
|
|
||||||
procedure TSettings.AddToSendTo(Delete: Boolean);
|
|
||||||
{$IFDEF windows}
|
{$IFDEF windows}
|
||||||
|
procedure TSettings.AddToSendTo(Delete: Boolean);
|
||||||
var
|
var
|
||||||
path: string;
|
path: string;
|
||||||
begin
|
begin
|
||||||
@@ -76,12 +76,8 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
FCreateSendtoShortcut;
|
FCreateSendtoShortcut;
|
||||||
{$ELSE}
|
|
||||||
begin
|
|
||||||
{$ENDIF}
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$IFDEF windows}
|
|
||||||
function TSettings.FGetSendtoShortcutPath: WideString;
|
function TSettings.FGetSendtoShortcutPath: WideString;
|
||||||
var
|
var
|
||||||
PIDL: PItemIDList;
|
PIDL: PItemIDList;
|
||||||
|
|||||||
Reference in New Issue
Block a user