diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-08 09:00:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-08 14:48:37 +0200 |
commit | 70138b37bb12721b8de6bf9aa42ba5c8b7546ca9 (patch) | |
tree | 93220681b1b13ea0ee5298493a5e9b547c8201ca /sfx2/uiconfig | |
parent | bc43f0e8643abdba19207c3c6f40d9439e971c80 (diff) |
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 <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/uiconfig')
-rw-r--r-- | sfx2/uiconfig/ui/querysavedialog.ui | 3 |
1 files changed, 3 insertions, 0 deletions
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> |