svx/source/dialog/crashreportdlg.cxx |    2 --
 svx/source/dialog/crashreportdlg.hxx |    1 -
 svx/uiconfig/ui/crashreportdlg.ui    |   23 +----------------------
 3 files changed, 1 insertion(+), 25 deletions(-)

New commits:
commit 2754c815fe65c57a2adcfac8f8abef7ae99c258e
Author:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
AuthorDate: Wed Dec 8 10:40:44 2021 +0100
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Tue Sep 5 19:15:57 2023 +0200

    Adapt crash submitted dialog
    
    Don't link to crashreport site, just show the ID
    
    Change-Id: I436b4503657ca42afb98ca5efb5a7f306b102df8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126539
    Tested-by: Thorsten Behrens <thorsten.behr...@allotropia.de>
    Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156497
    Reviewed-by: Gabor Kelemen <kelem...@ubuntu.com>

diff --git a/svx/source/dialog/crashreportdlg.cxx 
b/svx/source/dialog/crashreportdlg.cxx
index 33c879866cfd..f0f1af1a3ab8 100644
--- a/svx/source/dialog/crashreportdlg.cxx
+++ b/svx/source/dialog/crashreportdlg.cxx
@@ -26,7 +26,6 @@ CrashReportDialog::CrashReportDialog(weld::Window* pParent)
     , mxBtnClose(m_xBuilder->weld_button("btn_close"))
     , mxEditPreUpload(m_xBuilder->weld_label("ed_pre"))
     , mxEditPostUpload(m_xBuilder->weld_text_view("ed_post"))
-    , mxFtBugReport(m_xBuilder->weld_text_view("ed_bugreport"))
     , mxCBSafeMode(m_xBuilder->weld_check_button("check_safemode"))
     , mxPrivacyPolicyButton(m_xBuilder->weld_link_button("btnPrivacyPolicy"))
 {
@@ -86,7 +85,6 @@ IMPL_LINK(CrashReportDialog, BtnHdl, weld::Button&, rBtn, 
void)
         }
 
         mxBtnClose->show();
-        mxFtBugReport->show();
         mxEditPostUpload->show();
         mxBtnSend->set_sensitive(false);
         mxBtnCancel->set_sensitive(false);
diff --git a/svx/source/dialog/crashreportdlg.hxx 
b/svx/source/dialog/crashreportdlg.hxx
index 868f86c58e68..aa950d683a29 100644
--- a/svx/source/dialog/crashreportdlg.hxx
+++ b/svx/source/dialog/crashreportdlg.hxx
@@ -25,7 +25,6 @@ private:
     std::unique_ptr<weld::Button> mxBtnClose;
     std::unique_ptr<weld::Label> mxEditPreUpload;
     std::unique_ptr<weld::TextView> mxEditPostUpload;
-    std::unique_ptr<weld::TextView> mxFtBugReport;
     std::unique_ptr<weld::CheckButton> mxCBSafeMode;
     std::unique_ptr<weld::LinkButton> mxPrivacyPolicyButton;
 
diff --git a/svx/uiconfig/ui/crashreportdlg.ui 
b/svx/uiconfig/ui/crashreportdlg.ui
index 3b661706ca31..66b426c6e3e9 100644
--- a/svx/uiconfig/ui/crashreportdlg.ui
+++ b/svx/uiconfig/ui/crashreportdlg.ui
@@ -4,13 +4,7 @@
   <requires lib="gtk+" version="3.20"/>
   <object class="GtkTextBuffer" id="textbuffer1">
     <property name="text" translatable="yes" 
context="crashreportdlg|ed_post">The crash report was successfully uploaded.
-You can soon find the report at:
-https://crashreport.libreoffice.org/stats/crash_details/%CRASHID</property>
-  </object>
-  <object class="GtkTextBuffer" id="textbuffer2">
-    <property name="text" translatable="yes" 
context="crashreportdlg|ed_bugreport">Please check the report and if no bug 
report is connected to the crash report yet, open a new bug report at 
bugs.documentfoundation.org.
-Add detailed instructions on how to reproduce the crash and the shown crash ID 
into the crash report field.
-Thank you for your help in improving %PRODUCTNAME.</property>
+Please contact your IT support with the following ID: %CRASHID</property>
   </object>
   <object class="GtkDialog" id="CrashReportDialog">
     <property name="can_focus">False</property>
@@ -110,21 +104,6 @@ You can help us to fix this issue by sending an anonymous 
crash report to the %P
             <property name="position">1</property>
           </packing>
         </child>
-        <child>
-          <object class="GtkTextView" id="ed_bugreport">
-            <property name="can_focus">False</property>
-            <property name="editable">False</property>
-            <property name="wrap_mode">word</property>
-            <property name="cursor_visible">False</property>
-            <property name="buffer">textbuffer2</property>
-            <property name="accepts_tab">False</property>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">2</property>
-          </packing>
-        </child>
         <child>
           <object class="GtkCheckButton" id="check_safemode">
             <property name="label" translatable="yes" 
context="crashreportdlg|check_safemode">Restart %PRODUCTNAME to enter safe 
mode</property>

Reply via email to