mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-24 00:50:36 +12:00
[Feature] Show link overlay for files like lnk & URL (#166), version 1.0.17.41
revert
Revision: a005582d5e
Author: Markus Hofknecht <Markus@Hofknecht.eu>
Date: 02.05.2021 10:05:33
Message:
[Feature] Show link overlay for files like lnk & URL (#166), version 1.0.17.26
----
Modified: DataClasses/RowData.cs
Modified: Utilities/File/FileLnk.cs
Modified: Utilities/File/IconReader.cs
This commit is contained in:
parent
cae6aa7922
commit
d4fb5afdc7
|
@ -303,8 +303,7 @@ namespace SystemTrayMenu.DataClasses
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
icon = IconReader.GetFileIconWithCache(iconLocation, true, out bool toDispose);
|
icon = Icon.ExtractAssociatedIcon(iconLocation);
|
||||||
diposeIcon = toDispose;
|
|
||||||
handled = true;
|
handled = true;
|
||||||
}
|
}
|
||||||
catch (ArgumentException ex)
|
catch (ArgumentException ex)
|
||||||
|
@ -341,8 +340,7 @@ namespace SystemTrayMenu.DataClasses
|
||||||
}
|
}
|
||||||
else if (System.IO.File.Exists(iconFile))
|
else if (System.IO.File.Exists(iconFile))
|
||||||
{
|
{
|
||||||
icon = IconReader.GetFileIconWithCache(iconFile, true, out bool toDispose);
|
icon = Icon.ExtractAssociatedIcon(iconFile);
|
||||||
diposeIcon = toDispose;
|
|
||||||
handled = true;
|
handled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.17.40")]
|
[assembly: AssemblyVersion("1.0.17.41")]
|
||||||
[assembly: AssemblyFileVersion("1.0.17.40")]
|
[assembly: AssemblyFileVersion("1.0.17.41")]
|
||||||
|
|
Loading…
Reference in a new issue