[Libreoffice-commits] core.git: sw/uiconfig

Caolán McNamara caolanm at redhat.com
Thu Aug 3 15:51:02 UTC 2017


 sw/uiconfig/swriter/ui/insertbreak.ui |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 4dd34cd4b829bdc1679b11f19e957313f11620cd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Aug 3 16:23:56 2017 +0100

    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

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>


More information about the Libreoffice-commits mailing list