From d9c5752f62da99a719034fa844fde235c144b34a Mon Sep 17 00:00:00 2001 From: Adlair Cerecedo-Mendez Date: Mon, 19 Jun 2023 18:44:48 -0600 Subject: [PATCH] Custom images and referencies added Change-Id: Ic7e4beefaf65fec8bb2b4ef03996b3ff5e849fee --- cui/source/dialogs/about.cxx | 7 +- custom_images/MexGob.svg | 2516 ++++++++++++++++++++++++++++++++++ 2 files changed, 2519 insertions(+), 4 deletions(-) create mode 100644 custom_images/MexGob.svg diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index ce82e418cf9e..01073166f18b 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -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; diff --git a/custom_images/MexGob.svg b/custom_images/MexGob.svg new file mode 100644 index 000000000000..6ad4cd79920c --- /dev/null +++ b/custom_images/MexGob.svg @@ -0,0 +1,2516 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +