diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-20 13:00:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-20 17:24:26 +0100 |
commit | 1b4cb401b813ff026132fbd53b7b335880ed6dec (patch) | |
tree | f7c4a0ca67d8d84f67a4fbc5b475ebd4e91551ce /sc | |
parent | ea5eb69b65a3e27bfab9cd3f220eaeced159be39 (diff) |
Resolves: tdf#116385 warning dialog should be yes/no not ok
Change-Id: Ied6010e83b9709e5d5c8006912bff0fdce4077a3
Reviewed-on: https://gerrit.libreoffice.org/51638
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/uiconfig/scalc/ui/checkwarningdialog.ui | 54 |
1 files changed, 52 insertions, 2 deletions
diff --git a/sc/uiconfig/scalc/ui/checkwarningdialog.ui b/sc/uiconfig/scalc/ui/checkwarningdialog.ui index cb3a22bc7159..3c9c01155866 100644 --- a/sc/uiconfig/scalc/ui/checkwarningdialog.ui +++ b/sc/uiconfig/scalc/ui/checkwarningdialog.ui @@ -3,12 +3,11 @@ <interface domain="sc"> <requires lib="gtk+" version="3.18"/> <object class="GtkMessageDialog" id="CheckWarningDialog"> + <property name="can_focus">False</property> <property name="resizable">False</property> <property name="modal">True</property> - <property name="can_focus">False</property> <property name="type_hint">dialog</property> <property name="message_type">warning</property> - <property name="buttons">ok</property> <property name="text" translatable="yes" context="checkwarningdialog|CheckWarningDialog">You are pasting data into cells that already contain data.</property> <property name="secondary_text" translatable="yes" context="checkwarningdialog|CheckWarningDialog">Do you really want to overwrite the existing data?</property> <child internal-child="vbox"> @@ -20,6 +19,51 @@ <object class="GtkButtonBox"> <property name="can_focus">False</property> <property name="homogeneous">True</property> + <child> + <object class="GtkButton" id="help"> + <property name="label">gtk-help</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + <property name="secondary">True</property> + </packing> + </child> + <child> + <object class="GtkButton" id="no"> + <property name="label">gtk-no</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="yes"> + <property name="label">gtk-yes</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> + <property name="receives_default">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> @@ -33,6 +77,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="xalign">0</property> <property name="active">True</property> <property name="draw_indicator">True</property> </object> @@ -44,6 +89,11 @@ </child> </object> </child> + <action-widgets> + <action-widget response="-11">help</action-widget> + <action-widget response="-9">no</action-widget> + <action-widget response="-8">yes</action-widget> + </action-widgets> <child> <placeholder/> </child> |