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 /cui | |
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 'cui')
-rw-r--r-- | cui/uiconfig/ui/10000.ui | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/uiconfig/ui/10000.ui b/cui/uiconfig/ui/10000.ui index 2ccc3dc91348..a14db03fbf1e 100644 --- a/cui/uiconfig/ui/10000.ui +++ b/cui/uiconfig/ui/10000.ui @@ -186,7 +186,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> - <property name="format">%</property> + <property name="pattern">0%</property> </object> <packing> <property name="expand">False</property> @@ -298,6 +298,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> + <property name="pattern">0</property> </object> <packing> <property name="expand">False</property> |