mirror of
https://github.com/cyanfish/naps2.git
synced 2024-11-11 02:45:19 +03:00
Default icons for email providers
This commit is contained in:
parent
dbe64f20cb
commit
f007c6713d
20
NAPS2.Core/Icons.Designer.cs
generated
20
NAPS2.Core/Icons.Designer.cs
generated
@ -420,6 +420,16 @@ namespace NAPS2 {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap email_setting {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("email_setting", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@ -490,6 +500,16 @@ namespace NAPS2 {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap mail_yellow {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("mail_yellow", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -328,4 +328,10 @@
|
||||
<data name="outlookweb" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>Icons\outlookweb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="email_setting" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>Icons\email_setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="mail_yellow" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>Icons\mail_yellow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
NAPS2.Core/Icons/email_setting.png
Normal file
BIN
NAPS2.Core/Icons/email_setting.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
BIN
NAPS2.Core/Icons/mail_yellow.png
Normal file
BIN
NAPS2.Core/Icons/mail_yellow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
@ -5275,10 +5275,13 @@
|
||||
<Content Include="Icons\contrast_with_sun.ico" />
|
||||
<Content Include="Icons\control_play_blue-small.png" />
|
||||
<Content Include="Icons\email.ico" />
|
||||
<None Include="Icons\email.png" />
|
||||
<None Include="Icons\email_setting.png" />
|
||||
<Content Include="Icons\file_extension_pdf.ico" />
|
||||
<None Include="Icons\gmail.png" />
|
||||
<Content Include="Icons\image_edit.png" />
|
||||
<None Include="Icons\outlookweb.png" />
|
||||
<None Include="Icons\mail_yellow.png" />
|
||||
<Content Include="Icons\picture.ico" />
|
||||
<Content Include="Icons\pictures.png" />
|
||||
<Content Include="Icons\picture_edit.png" />
|
||||
|
@ -43,7 +43,7 @@ namespace NAPS2.WinForms
|
||||
providerWidgets.Add(new EmailProviderWidget
|
||||
{
|
||||
ProviderType = EmailProviderType.System,
|
||||
ProviderIcon = systemEmailClients.GetIcon(clientName),
|
||||
ProviderIcon = systemEmailClients.GetIcon(clientName) ?? Icons.mail_yellow,
|
||||
ProviderName = clientName,
|
||||
ClickAction = () => ChooseSystem(clientName)
|
||||
});
|
||||
@ -74,7 +74,7 @@ namespace NAPS2.WinForms
|
||||
providerWidgets.Add(new EmailProviderWidget
|
||||
{
|
||||
ProviderType = EmailProviderType.CustomSmtp,
|
||||
ProviderIcon = null,
|
||||
ProviderIcon = Icons.email_setting,
|
||||
ProviderName = EmailProviderType.CustomSmtp.Description(),
|
||||
ClickAction = ChooseCustomSmtp
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user