Fix missing B2 config page icon

This commit is contained in:
tinybarks 2018-09-30 17:47:07 +02:00
parent e0fb9373b8
commit 787a5217d9
No known key found for this signature in database
GPG key ID: D999045C35D5795A
5 changed files with 2098 additions and 8821 deletions

View file

@ -39,6 +39,7 @@
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace ShareX.UploadersLib.FileUploaders
{
@ -70,6 +71,8 @@ public override GenericUploader CreateUploader(UploadersConfig config, TaskRefer
customUrl: config.B2CustomUrl
);
}
public override TabPage GetUploadersConfigTabPage(UploadersConfigForm form) => form.tpBackblazeB2;
}
/// <summary>

View file

@ -330,7 +330,7 @@ private void InitializeComponent()
this.lblAzureStorageAccountName = new System.Windows.Forms.Label();
this.txtAzureStorageCustomDomain = new System.Windows.Forms.TextBox();
this.lblAzureStorageCustomDomain = new System.Windows.Forms.Label();
this.tbBackblazeB2 = new System.Windows.Forms.TabPage();
this.tpBackblazeB2 = new System.Windows.Forms.TabPage();
this.lblB2ManageLink = new System.Windows.Forms.LinkLabel();
this.txtB2UrlPreview = new System.Windows.Forms.TextBox();
this.lblB2UrlPreview = new System.Windows.Forms.Label();
@ -703,7 +703,7 @@ private void InitializeComponent()
this.gbAmazonS3Advanced.SuspendLayout();
this.tpGoogleCloudStorage.SuspendLayout();
this.tpAzureStorage.SuspendLayout();
this.tbBackblazeB2.SuspendLayout();
this.tpBackblazeB2.SuspendLayout();
this.tpGfycat.SuspendLayout();
this.tpMega.SuspendLayout();
this.tpOwnCloud.SuspendLayout();
@ -1866,7 +1866,7 @@ private void InitializeComponent()
this.tcFileUploaders.Controls.Add(this.tpAmazonS3);
this.tcFileUploaders.Controls.Add(this.tpGoogleCloudStorage);
this.tcFileUploaders.Controls.Add(this.tpAzureStorage);
this.tcFileUploaders.Controls.Add(this.tbBackblazeB2);
this.tcFileUploaders.Controls.Add(this.tpBackblazeB2);
this.tcFileUploaders.Controls.Add(this.tpGfycat);
this.tcFileUploaders.Controls.Add(this.tpMega);
this.tcFileUploaders.Controls.Add(this.tpOwnCloud);
@ -2991,24 +2991,24 @@ private void InitializeComponent()
resources.ApplyResources(this.lblAzureStorageCustomDomain, "lblAzureStorageCustomDomain");
this.lblAzureStorageCustomDomain.Name = "lblAzureStorageCustomDomain";
//
// tbBackblazeB2
// tpBackblazeB2
//
this.tbBackblazeB2.BackColor = System.Drawing.SystemColors.Window;
this.tbBackblazeB2.Controls.Add(this.lblB2ManageLink);
this.tbBackblazeB2.Controls.Add(this.txtB2UrlPreview);
this.tbBackblazeB2.Controls.Add(this.txtB2CustomUrl);
this.tbBackblazeB2.Controls.Add(this.lblB2UrlPreview);
this.tbBackblazeB2.Controls.Add(this.cbB2CustomUrl);
this.tbBackblazeB2.Controls.Add(this.lblB2Bucket);
this.tbBackblazeB2.Controls.Add(this.txtB2Bucket);
this.tbBackblazeB2.Controls.Add(this.txtB2UploadPath);
this.tbBackblazeB2.Controls.Add(this.lblB2UploadPath);
this.tbBackblazeB2.Controls.Add(this.txtB2ApplicationKey);
this.tbBackblazeB2.Controls.Add(this.lblB2ApplicationKey);
this.tbBackblazeB2.Controls.Add(this.lblB2ApplicationKeyId);
this.tbBackblazeB2.Controls.Add(this.txtB2ApplicationKeyId);
resources.ApplyResources(this.tbBackblazeB2, "tbBackblazeB2");
this.tbBackblazeB2.Name = "tbBackblazeB2";
this.tpBackblazeB2.BackColor = System.Drawing.SystemColors.Window;
this.tpBackblazeB2.Controls.Add(this.lblB2ManageLink);
this.tpBackblazeB2.Controls.Add(this.txtB2UrlPreview);
this.tpBackblazeB2.Controls.Add(this.txtB2CustomUrl);
this.tpBackblazeB2.Controls.Add(this.lblB2UrlPreview);
this.tpBackblazeB2.Controls.Add(this.cbB2CustomUrl);
this.tpBackblazeB2.Controls.Add(this.lblB2Bucket);
this.tpBackblazeB2.Controls.Add(this.txtB2Bucket);
this.tpBackblazeB2.Controls.Add(this.txtB2UploadPath);
this.tpBackblazeB2.Controls.Add(this.lblB2UploadPath);
this.tpBackblazeB2.Controls.Add(this.txtB2ApplicationKey);
this.tpBackblazeB2.Controls.Add(this.lblB2ApplicationKey);
this.tpBackblazeB2.Controls.Add(this.lblB2ApplicationKeyId);
this.tpBackblazeB2.Controls.Add(this.txtB2ApplicationKeyId);
resources.ApplyResources(this.tpBackblazeB2, "tpBackblazeB2");
this.tpBackblazeB2.Name = "tpBackblazeB2";
//
// lblB2ManageLink
//
@ -5496,8 +5496,8 @@ private void InitializeComponent()
this.tpGoogleCloudStorage.PerformLayout();
this.tpAzureStorage.ResumeLayout(false);
this.tpAzureStorage.PerformLayout();
this.tbBackblazeB2.ResumeLayout(false);
this.tbBackblazeB2.PerformLayout();
this.tpBackblazeB2.ResumeLayout(false);
this.tpBackblazeB2.PerformLayout();
this.tpGfycat.ResumeLayout(false);
this.tpGfycat.PerformLayout();
this.tpMega.ResumeLayout(false);
@ -6217,7 +6217,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblAzureStorageURLPreview;
private System.Windows.Forms.Label lblAzureStorageURLPreviewLabel;
private System.Windows.Forms.Label lblFirebaseDomainExample;
internal System.Windows.Forms.TabPage tbBackblazeB2;
internal System.Windows.Forms.TabPage tpBackblazeB2;
private System.Windows.Forms.TextBox txtB2CustomUrl;
private System.Windows.Forms.Label lblB2UrlPreview;
private System.Windows.Forms.CheckBox cbB2CustomUrl;

File diff suppressed because it is too large Load diff

View file

@ -408,6 +408,6 @@ Created folders:</value>
<value>..\Favicons\GoogleCloud.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="BackblazeB2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Favicons\backblazeb2.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Favicons\BackblazeB2.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View file

@ -989,14 +989,9 @@
<None Include="Favicons\Plik.ico" />
<None Include="Favicons\Gfycat.png" />
<None Include="Favicons\GooglePhotos.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Favicons\BackblazeB2.ico" />
<None Include="Favicons\Firebase.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Favicons\YouTube.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Favicons\GoogleCloud.ico" />
</ItemGroup>
<ItemGroup>
@ -1016,16 +1011,15 @@
<Version>4.5.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Content Include="Favicons\BackblazeB2.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>cd $(ProjectDir)APIKeys\
<PreBuildEvent>
cd $(ProjectDir)APIKeys\
if not exist APIKeysLocal.cs (
type nul &gt; APIKeysLocal.cs
)</PreBuildEvent>
if not exist APIKeysLocal.cs (
type nul &gt; APIKeysLocal.cs
)
</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.