[Libreoffice-commits] core.git: Branch 'libreoffice-7-1-3' - cui/source cui/uiconfig

Christian Lohmaier (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 28 09:57:20 UTC 2021


 cui/source/dialogs/AdditionsDialog.cxx |    4 ++--
 cui/uiconfig/ui/additionsfragment.ui   |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1095de0ae2476a7c3c8d478c360a3d3c7148a245
Author:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
AuthorDate: Tue Apr 27 14:19:22 2021 +0200
Commit:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Wed Apr 28 11:56:47 2021 +0200

    tdf#137470 use a more proper URL for the extensions
    
    also hide the download-count, since those numbers are completely made up
    by the script
    
    Change-Id: I15b53a8a023c34ecc6a544b88ad35800891e4327
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114740
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    (cherry picked from commit 452fcbe0792aa10042bb8cd2cfd6cd29ca754be5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114774
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    (cherry picked from commit e5b8477a1270a8b572b3815cfb318110eb19d0f2)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114720
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx
index 383afdaa62dc..8bd5dee65222 100644
--- a/cui/source/dialogs/AdditionsDialog.cxx
+++ b/cui/source/dialogs/AdditionsDialog.cxx
@@ -462,8 +462,8 @@ AdditionsDialog::AdditionsDialog(weld::Window* pParent, const OUString& sAdditio
         this->set_title(titlePrefix);
         m_sTag = "allextensions"; // Means empty parameter
     }
-    //FIXME: Temporary URL
-    OUString rURL = "https://yusufketen.com/api/" + m_sTag + ".json";
+    //FIXME: Temporary URL - v0 is not using actual api
+    OUString rURL = "https://extensions.libreoffice.org/api/v0/" + m_sTag + ".json";
     m_sURL = rURL;
 
     m_xExtensionManager
diff --git a/cui/uiconfig/ui/additionsfragment.ui b/cui/uiconfig/ui/additionsfragment.ui
index 9772ae45fffd..143c7c446c94 100644
--- a/cui/uiconfig/ui/additionsfragment.ui
+++ b/cui/uiconfig/ui/additionsfragment.ui
@@ -136,7 +136,7 @@
         </child>
         <child>
           <object class="GtkLabel" id="labelComments1">
-            <property name="visible">True</property>
+            <property name="visible">False</property>
             <property name="can-focus">False</property>
             <property name="halign">start</property>
             <property name="label" translatable="yes" context="additionsEntry|labelComments">Downloads:</property>
@@ -154,7 +154,7 @@
         </child>
         <child>
           <object class="GtkLabel" id="labelDownloadNumber">
-            <property name="visible">True</property>
+            <property name="visible">False</property>
             <property name="can-focus">False</property>
             <property name="halign">start</property>
             <property name="label">label</property>


More information about the Libreoffice-commits mailing list