summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-05-05 16:20:35 +0200
committerAron Budea <aron.budea@collabora.com>2018-07-10 22:57:19 +0200
commit48fc3c776c17ecd6522f5890411fbbfa5aa02c5c (patch)
tree64703f5e4ed567e18de903b524708f837ba75cd4
parentf7274fb80a3b7f7949f8b2b017fc196ffbe5c529 (diff)
don't show inaccessible crashreport links
(cherry picked from commit 0d045c85fb8dbdb7fa2e116ef9983e0a60bd2b99) Change-Id: I3c4ed28cb1a02049fb009f576943f80b8ba8e627
-rw-r--r--svx/source/dialog/crashreportdlg.cxx3
-rw-r--r--svx/source/dialog/crashreportdlg.hxx2
-rw-r--r--svx/uiconfig/ui/crashreportdlg.ui7
3 files changed, 4 insertions, 8 deletions
diff --git a/svx/source/dialog/crashreportdlg.cxx b/svx/source/dialog/crashreportdlg.cxx
index c446aee7570f..faa7b763665a 100644
--- a/svx/source/dialog/crashreportdlg.cxx
+++ b/svx/source/dialog/crashreportdlg.cxx
@@ -30,7 +30,7 @@ CrashReportDialog::CrashReportDialog(vcl::Window* pParent):
get(mpBtnCancel, "btn_cancel");
get(mpBtnClose, "btn_close");
get(mpEditPreUpload, "ed_pre");
- get(mpEditPostUpload, "ed_post");
+ get(mpEditPostUpload, "ft_post");
get(mpBugReportMailto, "bugreport_mailto");
get(mpCBSafeMode, "check_safemode");
@@ -39,7 +39,6 @@ CrashReportDialog::CrashReportDialog(vcl::Window* pParent):
mpBtnSend->SetClickHdl(LINK(this, CrashReportDialog, BtnHdl));
mpBtnCancel->SetClickHdl(LINK(this, CrashReportDialog, BtnHdl));
mpBtnClose->SetClickHdl(LINK(this, CrashReportDialog, BtnHdl));
- mpEditPostUpload->SetReadOnly();
}
CrashReportDialog::~CrashReportDialog()
diff --git a/svx/source/dialog/crashreportdlg.hxx b/svx/source/dialog/crashreportdlg.hxx
index a564670bad55..69474a870fb5 100644
--- a/svx/source/dialog/crashreportdlg.hxx
+++ b/svx/source/dialog/crashreportdlg.hxx
@@ -35,7 +35,7 @@ private:
VclPtr<Button> mpBtnCancel;
VclPtr<Button> mpBtnClose;
VclPtr<FixedText> mpEditPreUpload;
- VclPtr<VclMultiLineEdit> mpEditPostUpload;
+ VclPtr<FixedText> mpEditPostUpload;
VclPtr<FixedHyperlink> mpBugReportMailto;
VclPtr<CheckBox> mpCBSafeMode;
diff --git a/svx/uiconfig/ui/crashreportdlg.ui b/svx/uiconfig/ui/crashreportdlg.ui
index de23777495d3..bc2006925cd6 100644
--- a/svx/uiconfig/ui/crashreportdlg.ui
+++ b/svx/uiconfig/ui/crashreportdlg.ui
@@ -81,15 +81,12 @@ You can help us to fix this issue by sending an anonymous crash report to the %P
</packing>
</child>
<child>
- <object class="GtkTextView" id="ed_post">
+ <object class="GtkLabel" id="ft_post">
<property name="can_focus">False</property>
<property name="valign">center</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes" context="crashreportdlg|ed_post">The crash report was successfully uploaded.
-You can soon find the report at:
-http://crashreport.collaboraoffice.com/stats/crash_details/%CRASHID</property>
+ <property name="label" translatable="yes" context="crashreportdlg|ed_post">The crash report was successfully uploaded.</property>
<property name="wrap">True</property>
- <property name="selectable">True</property>
</object>
<packing>
<property name="expand">False</property>