diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-01 21:24:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-04-02 12:36:15 +0200 |
commit | b8485778b3acbca8db44d4cb1576de4ecee02de2 (patch) | |
tree | 3623395f37b2119a9b99eaee4814644ca94c5ace /svx | |
parent | b2ccf5efae5261886a5aadf3f72ff095cb3b3d5b (diff) |
more standard way to populate textview contents
Change-Id: I2d628ae62cef76be6ab05bd8710eed5cece75ffe
Reviewed-on: https://gerrit.libreoffice.org/70123
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/uiconfig/ui/crashreportdlg.ui | 59 |
1 files changed, 33 insertions, 26 deletions
diff --git a/svx/uiconfig/ui/crashreportdlg.ui b/svx/uiconfig/ui/crashreportdlg.ui index a627dd2a1949..28547f66602b 100644 --- a/svx/uiconfig/ui/crashreportdlg.ui +++ b/svx/uiconfig/ui/crashreportdlg.ui @@ -1,7 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.18.3 --> +<!-- Generated with glade 3.22.1 --> <interface domain="svx"> <requires lib="gtk+" version="3.18"/> + <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: +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> + </object> <object class="GtkDialog" id="CrashReportDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> @@ -84,12 +94,10 @@ You can help us to fix this issue by sending an anonymous crash report to the %P <object class="GtkTextView" id="ed_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: -crashreport.libreoffice.org/stats/crash_details/%CRASHID</property> - <property name="wrap">True</property> - <property name="selectable">True</property> + <property name="editable">False</property> + <property name="wrap_mode">word</property> + <property name="cursor_visible">False</property> + <property name="buffer">textbuffer1</property> </object> <packing> <property name="expand">False</property> @@ -98,12 +106,13 @@ crashreport.libreoffice.org/stats/crash_details/%CRASHID</property> </packing> </child> <child> - <object class="GtkTextView" id="ed_bugreport"> - <property name="can_focus">False</property> - <property name="label" 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> - <property name="wrap">True</property> + <object class="GtkCheckButton" id="check_safemode"> + <property name="label" translatable="yes" context="crashreportdlg|check_safemode">Restart %PRODUCTNAME to enter safe mode</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="draw_indicator">True</property> </object> <packing> <property name="expand">False</property> @@ -112,22 +121,20 @@ Thank you for your help in improving %PRODUCTNAME.</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> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="xalign">0</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">3</property> + <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> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> </packing> </child> </object> </child> </object> - <object class="GtkActionGroup" id="actiongroup1"/> </interface> |