Michael Natterer
e821cd4881
libgimpwidgets: add "short-format" and "long-format" properties
...
which have the are format strings for gimp_unit_format_string(). The
formatted strings are kept in the respective new model columns.
2010-11-05 16:26:58 +01:00
Michael Natterer
b25ac7b68d
libgimpwidgets: add "percent" support to GimpUnitStore
...
and enable "menu_show_percent" again in GimpSizeEntry.
2010-10-15 01:27:02 +02:00
Michael Natterer
e5faf090ca
libgimpwidgets: add gimp_unit_store_set,get_has_pixels()
...
to allow having unit combos without "pixels". Adapt GimpUnitComboBox
to not assume that the unit is equal to the index in the store and
enable "menu_has_pixels" in GimpSizeEntry again.
2010-10-15 00:15:48 +02:00
Michael Natterer
f2bd06e2d1
libgimpwidgets: move GimpUnitStore members to a private struct
2010-10-14 23:22:22 +02:00
Michael Natterer
74458f46ee
app/libgimpwidgets: move GimpUnitStore and GimpUnitComboBox to libgimpwidgets
2010-10-14 22:15:25 +02:00