diff options
author | Bernhard Widl <bernhard.widl@cib.de> | 2017-09-15 17:39:48 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-09-19 01:11:25 +0200 |
commit | 7d5245848c28f5786258476cd7aa2a4523645de3 (patch) | |
tree | dc57a024f062b9d18bf647710652b67206c3b0d7 /sw/uiconfig | |
parent | c686dc4f33c7461a28df95603d06591a3a0171cd (diff) |
tdf#79877 revert to old behavior when clicking on input fields.
doubleclick on input field brings up old input fields dialog
that dialog now starts at current field and has previous/next navigation
Change-Id: Ie3eec38d62cbf8a8248acb4fd84731c078ebadd4
Reviewed-on: https://gerrit.libreoffice.org/42333
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/dropdownfielddialog.ui | 27 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/inputfielddialog.ui | 27 |
2 files changed, 45 insertions, 9 deletions
diff --git a/sw/uiconfig/swriter/ui/dropdownfielddialog.ui b/sw/uiconfig/swriter/ui/dropdownfielddialog.ui index 5feb9343356c..c329ae6b81e4 100644 --- a/sw/uiconfig/swriter/ui/dropdownfielddialog.ui +++ b/sw/uiconfig/swriter/ui/dropdownfielddialog.ui @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.18.3 --> <interface domain="sw"> - <requires lib="gtk+" version="3.0"/> + <!-- interface-requires gtk+ 3.0 --> <object class="GtkDialog" id="DropdownFieldDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> @@ -26,6 +25,7 @@ <property name="can_default">True</property> <property name="has_default">True</property> <property name="receives_default">True</property> + <property name="margin_top">3</property> <property name="use_stock">True</property> </object> <packing> @@ -49,8 +49,8 @@ </packing> </child> <child> - <object class="GtkButton" id="next"> - <property name="label">gtk-media-next</property> + <object class="GtkButton" id="prev"> + <property name="label">gtk-media-previous</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="no_show_all">True</property> @@ -92,6 +92,20 @@ <property name="secondary">True</property> </packing> </child> + <child> + <object class="GtkButton" id="next"> + <property name="label">gtk-media-next</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="no_show_all">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">5</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> @@ -145,6 +159,8 @@ <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> </packing> </child> </object> @@ -173,9 +189,10 @@ <action-widgets> <action-widget response="0">ok</action-widget> <action-widget response="0">cancel</action-widget> - <action-widget response="0">next</action-widget> + <action-widget response="0">prev</action-widget> <action-widget response="0">help</action-widget> <action-widget response="0">edit</action-widget> + <action-widget response="0">next</action-widget> </action-widgets> </object> </interface> diff --git a/sw/uiconfig/swriter/ui/inputfielddialog.ui b/sw/uiconfig/swriter/ui/inputfielddialog.ui index c1901ae0866f..6ccd909c7a11 100644 --- a/sw/uiconfig/swriter/ui/inputfielddialog.ui +++ b/sw/uiconfig/swriter/ui/inputfielddialog.ui @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.0 --> <interface domain="sw"> - <requires lib="gtk+" version="3.0"/> + <!-- interface-requires gtk+ 3.0 --> <object class="GtkDialog" id="InputFieldDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> @@ -47,6 +46,20 @@ </packing> </child> <child> + <object class="GtkButton" id="prev"> + <property name="label">gtk-media-previous</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="no_show_all">True</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> <object class="GtkButton" id="next"> <property name="label">gtk-media-next</property> <property name="can_focus">True</property> @@ -57,7 +70,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">2</property> + <property name="position">3</property> </packing> </child> <child> @@ -71,7 +84,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">3</property> + <property name="position">4</property> <property name="secondary">True</property> </packing> </child> @@ -102,6 +115,8 @@ <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> </packing> </child> <child> @@ -117,6 +132,8 @@ <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> </packing> </child> <child> @@ -140,6 +157,7 @@ <property name="left_attach">0</property> <property name="top_attach">1</property> <property name="width">2</property> + <property name="height">1</property> </packing> </child> </object> @@ -154,6 +172,7 @@ <action-widgets> <action-widget response="0">ok</action-widget> <action-widget response="0">cancel</action-widget> + <action-widget response="0">prev</action-widget> <action-widget response="0">next</action-widget> <action-widget response="0">help</action-widget> </action-widgets> |