summaryrefslogtreecommitdiff
path: root/sw/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-03 16:23:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-08-03 16:50:16 +0100
commit4dd34cd4b829bdc1679b11f19e957313f11620cd (patch)
tree4026a3c517c35e11454e97c8303cd51f12da3aee /sw/uiconfig
parent3d8846a51acc509118a0af6ac16539c19109ff8d (diff)
tweak insert break menu to load the same with native gtk builder
1) missing "Modal" in the .ui 2) and there shouldn't be two active members of the group 3) and seems that the "Active" property in gtk and groups either isn't working properly or doesn't work as I expect, what works in both impls is to make the Active one the "group" and make all the others a member of the "group" of the Active one Change-Id: I216c7c4bec864fbbf13152e5bd29d70724a34f7c
Diffstat (limited to 'sw/uiconfig')
-rw-r--r--sw/uiconfig/swriter/ui/insertbreak.ui6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/uiconfig/swriter/ui/insertbreak.ui b/sw/uiconfig/swriter/ui/insertbreak.ui
index 1a163aa803dc..0299a6bc66a3 100644
--- a/sw/uiconfig/swriter/ui/insertbreak.ui
+++ b/sw/uiconfig/swriter/ui/insertbreak.ui
@@ -24,6 +24,7 @@
<property name="border_width">6</property>
<property name="title" translatable="yes" context="insertbreak|BreakDialog">Insert Break</property>
<property name="resizable">False</property>
+ <property name="modal">True</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
@@ -112,9 +113,8 @@
<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>
- <property name="group">columnrb</property>
+ <property name="group">pagerb</property>
</object>
<packing>
<property name="expand">False</property>
@@ -129,7 +129,6 @@
<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>
<property name="group">pagerb</property>
</object>
@@ -148,7 +147,6 @@
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
- <property name="group">linerb</property>
</object>
<packing>
<property name="expand">False</property>