[Libreoffice-commits] core.git: 2 commits - sd/uiconfig vcl/source

David Tardon dtardon at redhat.com
Thu Feb 13 14:20:27 CET 2014


 sd/uiconfig/simpress/ui/slidetransitionspanel.ui |    3 +++
 vcl/source/control/field.cxx                     |    4 ++++
 2 files changed, 7 insertions(+)

New commits:
commit 1b2da3df5449f5bc517418cc632157780984e275
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Feb 13 14:07:09 2014 +0100

    enable spin-size for NumericField too
    
    Change-Id: I77660572947f7a863982be7742cbcb1c784379ed

diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index e718202..1499850 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -748,6 +748,8 @@ bool NumericField::set_property(const OString &rKey, const OString &rValue)
 {
     if (rKey == "digits")
         SetDecimalDigits(rValue.toInt32());
+    else if (rKey == "spin-size")
+        SetSpinSize(rValue.toInt32());
     else
         return SpinField::set_property(rKey, rValue);
     return true;
commit 78ff9d90f2a74792c437087ede11559c111c5c98
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Feb 13 14:05:47 2014 +0100

    fdo#74468 fix timing of slide transitions
    
    Regression since commit 16428c9600964a4945cf6fd0d938dea047d1248b.
    
    Change-Id: Id274c21e08d10d2e727f3b5a3fd852cd297e4637

diff --git a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
index 7155774..2d7bde2 100644
--- a/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
+++ b/sd/uiconfig/simpress/ui/slidetransitionspanel.ui
@@ -255,6 +255,9 @@
                         <property name="can_focus">True</property>
                         <property name="invisible_char">●</property>
                         <property name="invisible_char_set">True</property>
+                        <property name="format">sec</property>
+                        <property name="digits">2</property>
+                        <property name="spin_size">25</property>
                       </object>
                       <packing>
                         <property name="left_attach">1</property>
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 96bfbdb..e718202 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1596,6 +1596,8 @@ bool MetricField::set_property(const OString &rKey, const OString &rValue)
     }
     else if (rKey == "digits")
         SetDecimalDigits(rValue.toInt32());
+    else if (rKey == "spin-size")
+        SetSpinSize(rValue.toInt32());
     else
         return SpinField::set_property(rKey, rValue);
     return true;


More information about the Libreoffice-commits mailing list