summaryrefslogtreecommitdiff
path: root/sfx2/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-08 09:00:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-08 14:48:37 +0200
commit70138b37bb12721b8de6bf9aa42ba5c8b7546ca9 (patch)
tree93220681b1b13ea0ee5298493a5e9b547c8201ca /sfx2/uiconfig
parentbc43f0e8643abdba19207c3c6f40d9439e971c80 (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.ui3
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>