Use different image for the RPM packages to distinguish them from the updates.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
This commit is contained in:
Konstantina Chremmou 2023-08-15 02:07:35 +01:00
parent 046476cd6e
commit 2a81e63eba
6 changed files with 17 additions and 2 deletions

View File

@ -971,6 +971,7 @@ namespace XenAdmin
public static Bitmap usb_16 = Properties.Resources.usb_16;
public static Bitmap yinhekylin_16x = Properties.Resources.yinhekylin_16x;
public static Bitmap rightArrowLong_Blue_16 = Properties.Resources.rightArrowLong_Blue_16;
public static Bitmap rpm_package = Properties.Resources.rpm_package;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -2906,6 +2906,16 @@ namespace XenAdmin.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap rpm_package {
get {
object obj = ResourceManager.GetObject("rpm_package", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@ -1156,4 +1156,7 @@
<data name="livepatch_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Images\livepatch_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
<data name="rpm_package" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Images\rpm_package.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@ -249,7 +249,7 @@ namespace XenAdmin.TabPages.CdnUpdates
public RpmCategoryRow(params string[] rpms)
{
SetValues(string.Format(Messages.HOTFIX_RPMS_TO_INSTALL, rpms.Length),
Images.StaticImages._000_Patch_h32bit_16);
Images.StaticImages.rpm_package);
ChildRows = new List<CdnExpandableRow> { new RpmsRow(rpms) };
}

View File

@ -4575,6 +4575,7 @@
<None Include="Images\saved_searches_24.png" />
<None Include="Images\RunningDC_16.png" />
<None Include="Images\rightArrowLong_Blue_16.png" />
<None Include="Images\rpm_package.png" />
<Content Include="Images\save_to_disk.png" />
<Content Include="Images\scilinux_16x.png" />
<None Include="Images\server_32.png" />