sfx2/uiconfig/ui/querysavedialog.ui | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 70138b37bb12721b8de6bf9aa42ba5c8b7546ca9 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Oct 8 09:00:05 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Oct 8 14:48:37 2021 +0200 add 'destructive-action' style to the close button of save changes which gives a red "Don't Save" close button in the default Adwaita gtk theme for that undoable action Change-Id: I62b50c90ca53c8f05e656c9beaecbfb160ce5f67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123249 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sfx2/uiconfig/ui/querysavedialog.ui b/sfx2/uiconfig/ui/querysavedialog.ui index 74b3f4a796c0..4e78257e553c 100644 --- a/sfx2/uiconfig/ui/querysavedialog.ui +++ b/sfx2/uiconfig/ui/querysavedialog.ui @@ -27,6 +27,9 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> + <style> + <class name="destructive-action"/> + </style> </object> <packing> <property name="expand">False</property>