diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-08-17 13:49:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:36 +0100 |
commit | 4a9fe1a736dac09436ff31560565f1e5b7d5b46e (patch) | |
tree | 60f42753ce0298f11b37ce541a7e3dd192cde77f /sw | |
parent | cd998eb98d23ad4c1e5d9e56d7fdb78731b3f2d6 (diff) |
distinguish between NumericFields and MetricFields
GtkSpinFields without a pattern are NumericFields
Otherwise we hook off the pattern to determine what sort of field
it is, only MetricFields for now and their various field units.
Change-Id: I1d50b302b402516b5460774f1d689ac93bfd61ff
to-do: upstream something of the "pattern" nature into gtk
Diffstat (limited to 'sw')
-rw-r--r-- | sw/uiconfig/sw/ui/20872.ui | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/uiconfig/sw/ui/20872.ui b/sw/uiconfig/sw/ui/20872.ui index 777d049ccd13..21d85382ffd5 100644 --- a/sw/uiconfig/sw/ui/20872.ui +++ b/sw/uiconfig/sw/ui/20872.ui @@ -169,6 +169,7 @@ <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="invisible_char_set">True</property> + <property name="pattern">0.00cm</property> </object> <packing> <property name="left_attach">1</property> @@ -197,6 +198,7 @@ <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="invisible_char_set">True</property> + <property name="pattern">0.00cm</property> </object> <packing> <property name="left_attach">1</property> @@ -211,6 +213,7 @@ <property name="can_focus">True</property> <property name="invisible_char">●</property> <property name="invisible_char_set">True</property> + <property name="pattern">0.00cm</property> </object> <packing> <property name="left_attach">1</property> @@ -284,6 +287,7 @@ <property name="invisible_char">●</property> <property name="adjustment">adjustment2</property> <property name="digits">2</property> + <property name="pattern">0.00cm</property> </object> <packing> <property name="left_attach">1</property> @@ -331,6 +335,7 @@ <property name="invisible_char">●</property> <property name="adjustment">adjustment1</property> <property name="digits">2</property> + <property name="pattern">0.00cm</property> </object> <packing> <property name="left_attach">1</property> @@ -346,6 +351,7 @@ <property name="invisible_char">●</property> <property name="adjustment">adjustment1</property> <property name="digits">2</property> + <property name="pattern">0.00cm</property> </object> <packing> <property name="left_attach">1</property> |