Custom images and referencies added

Change-Id: Ic7e4beefaf65fec8bb2b4ef03996b3ff5e849fee
This commit is contained in:
Adlair Cerecedo-Mendez 2023-06-19 18:44:48 -06:00 committed by Octavio Alvarez
parent 6f1b01c20c
commit d9c5752f62
2 changed files with 2519 additions and 4 deletions

View file

@ -78,8 +78,7 @@ AboutDialog::AboutDialog(weld::Window *pParent)
OUString sbuildId = GetBuildString();
if (IsStringValidGitHash(sbuildId)) {
const tools::Long nMaxChar = 25;
m_pBuildLabel->set_uri("https://gerrit.libreoffice.org/gitweb?p=core.git;a=log;h="
+ sbuildId);
m_pBuildLabel->set_uri("https://git.softwarelibre.mx/strepsirrhini/office-gobmx");
m_pBuildLabel->set_label(sbuildId.getLength() > nMaxChar ? sbuildId.replaceAt(
nMaxChar, sbuildId.getLength() - nMaxChar, u"...")
: sbuildId);
@ -112,7 +111,7 @@ AboutDialog::AboutDialog(weld::Window *pParent)
Graphic aGraphic(aBackgroundBitmap);
m_pBrandImage->set_image(aGraphic.GetXGraphic());
}
if (SfxApplication::loadBrandSvg("shell/about", aBackgroundBitmap, nWidth * 0.9)) {
if (SfxApplication::loadBrandSvg("shell/MexGob", aBackgroundBitmap, nWidth * 0.9)) {
// Eliminate white background when Skia is disabled by not drawing the
// background bitmap to a VirtualDevice. On most platforms, non-Skia
// VirtualDevices will be filled with a solid color when drawing
@ -153,7 +152,7 @@ OUString AboutDialog::GetVersionString() {
OUString sVersion = CuiResId(TranslateId(nullptr, "%ABOUTBOXPRODUCTVERSION%ABOUTBOXPRODUCTVERSIONSUFFIX")) + " (" + arch + ")";
#if HAVE_FEATURE_COMMUNITY_FLAVOR
sVersion += " / LibreOffice Community";
sVersion += " / LibreOffice GOBMX";
#endif
return sVersion;

2516
custom_images/MexGob.svg Normal file

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 270 KiB