replace wildcard/regex checkboxes with radio button group, tdf#72196

Change-Id: I505a0de789190dc7345a703ac50008276d0ed195
This commit is contained in:
Eike Rathke
2016-03-02 14:35:35 +01:00
parent ddc363b2b2
commit 63e914719e
3 changed files with 34 additions and 20 deletions

View File

@@ -92,14 +92,16 @@
</packing>
</child>
<child>
<object class="GtkCheckButton" id="wildcards">
<object class="GtkRadioButton" id="formulawildcards">
<property name="label" translatable="yes">Enable w_ildcards in formulas</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">formularegex</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -108,14 +110,16 @@
</packing>
</child>
<child>
<object class="GtkCheckButton" id="regex">
<object class="GtkRadioButton" id="formularegex">
<property name="label" translatable="yes">Enable r_egular expressions in formulas</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">formulaliteral</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -123,6 +127,24 @@
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="formulaliteral">
<property name="label" translatable="yes">No wildcards or regular expressions in formulas</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">formulawildcard</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">5</property>
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="lookup">
<property name="label" translatable="yes">_Automatically find column and row labels</property>
@@ -135,7 +157,7 @@
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">5</property>
<property name="top_attach">6</property>
<property name="width">2</property>
</packing>
</child>
@@ -151,7 +173,7 @@
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">6</property>
<property name="top_attach">7</property>
</packing>
</child>
<child>