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

Caolán McNamara caolanm at redhat.com
Tue May 29 15:39:24 UTC 2018


 cui/uiconfig/ui/positionsizedialog.ui |    2 +-
 cui/uiconfig/ui/possizetabpage.ui     |   21 ++++++++++-----------
 cui/uiconfig/ui/rotationtabpage.ui    |    6 +++---
 3 files changed, 14 insertions(+), 15 deletions(-)

New commits:
commit 46ac529c44d513c31942f13dd5b40f3e5d7c363f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 29 10:53:06 2018 +0100

    these spinbuttons should be focusable
    
    Change-Id: I5af98ef0815f91b8c615441299eb43d602ebf57b
    Reviewed-on: https://gerrit.libreoffice.org/55008
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/uiconfig/ui/positionsizedialog.ui b/cui/uiconfig/ui/positionsizedialog.ui
index a5af423d62a2..658d5d056f8e 100644
--- a/cui/uiconfig/ui/positionsizedialog.ui
+++ b/cui/uiconfig/ui/positionsizedialog.ui
@@ -88,7 +88,7 @@
         <child>
           <object class="GtkNotebook" id="tabcontrol">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="can_focus">True</property>
             <property name="hexpand">True</property>
             <property name="vexpand">True</property>
             <child>
diff --git a/cui/uiconfig/ui/possizetabpage.ui b/cui/uiconfig/ui/possizetabpage.ui
index 76fffb89d621..94e7d628089e 100644
--- a/cui/uiconfig/ui/possizetabpage.ui
+++ b/cui/uiconfig/ui/possizetabpage.ui
@@ -2,7 +2,6 @@
 <!-- Generated with glade 3.22.1 -->
 <interface domain="cui">
   <requires lib="gtk+" version="3.18"/>
-  <requires lib="LibreOffice" version="1.0"/>
   <object class="GtkAdjustment" id="adjustmentPOS">
     <property name="lower">-120</property>
     <property name="upper">240</property>
@@ -86,7 +85,7 @@
                     <child>
                       <object class="GtkSpinButton" id="MTR_FLD_POS_X">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustmentPOS</property>
                         <property name="digits">2</property>
@@ -99,7 +98,7 @@
                     <child>
                       <object class="GtkSpinButton" id="MTR_FLD_POS_Y">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustmentPOS1</property>
                         <property name="digits">2</property>
@@ -249,7 +248,7 @@
                     <child>
                       <object class="GtkSpinButton" id="MTR_FLD_WIDTH">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustmentSIZE</property>
                         <property name="digits">2</property>
@@ -262,7 +261,7 @@
                     <child>
                       <object class="GtkSpinButton" id="MTR_FLD_HEIGHT">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustmentSIZE1</property>
                         <property name="digits">2</property>
@@ -276,7 +275,7 @@
                       <object class="GtkCheckButton" id="CBX_SCALE">
                         <property name="label" translatable="yes" context="possizetabpage|CBX_SCALE">_Keep ratio</property>
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
                         <property name="xalign">0</property>
@@ -316,7 +315,7 @@
                       </packing>
                     </child>
                     <child>
-                       <object class="GtkScrolledWindow">
+                      <object class="GtkScrolledWindow">
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="halign">center</property>
@@ -401,7 +400,7 @@
                       <object class="GtkCheckButton" id="TSB_POSPROTECT">
                         <property name="label" translatable="yes" context="possizetabpage|TSB_POSPROTECT">Positio_n</property>
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
                         <property name="xalign">0</property>
@@ -418,7 +417,7 @@
                       <object class="GtkCheckButton" id="TSB_SIZEPROTECT">
                         <property name="label" translatable="yes" context="possizetabpage|TSB_SIZEPROTECT">_Size</property>
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
                         <property name="xalign">0</property>
@@ -475,7 +474,7 @@
                       <object class="GtkCheckButton" id="TSB_AUTOGROW_WIDTH">
                         <property name="label" translatable="yes" context="possizetabpage|TSB_AUTOGROW_WIDTH">_Fit width to text</property>
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
                         <property name="xalign">0</property>
@@ -492,7 +491,7 @@
                       <object class="GtkCheckButton" id="TSB_AUTOGROW_HEIGHT">
                         <property name="label" translatable="yes" context="possizetabpage|TSB_AUTOGROW_HEIGHT">Fit _height to text</property>
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
                         <property name="xalign">0</property>
diff --git a/cui/uiconfig/ui/rotationtabpage.ui b/cui/uiconfig/ui/rotationtabpage.ui
index af5f9ec6260c..0bb66f4d4282 100644
--- a/cui/uiconfig/ui/rotationtabpage.ui
+++ b/cui/uiconfig/ui/rotationtabpage.ui
@@ -80,7 +80,7 @@
                     <child>
                       <object class="GtkSpinButton" id="MTR_FLD_POS_X">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustmentPOS1</property>
                         <property name="digits">2</property>
@@ -93,7 +93,7 @@
                     <child>
                       <object class="GtkSpinButton" id="MTR_FLD_POS_Y">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustmentPOS2</property>
                         <property name="digits">2</property>
@@ -231,7 +231,7 @@
                     <child>
                       <object class="GtkSpinButton" id="NF_ANGLE">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can_focus">True</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustmentANGLE</property>
                         <property name="digits">2</property>


More information about the Libreoffice-commits mailing list