- Sep 13, 2013
-
-
Michael Natterer authored
-
... and update some of the other GimpUnitEntry related classes' docs
-
-
...and some other refactoring
-
-
Follow GtkSpinButton pattern: the adjustment must be created manually by the client and then be set via gimp_unit_entry_set_adjustment. This makes mirroring the GimpUnitAdjustment API unnecessary.
-
-
-
-
-
Removed old SizeEntry code and duplicate functions
-
-
-
(also ports scale dialog, as it solely uses GimpSizeBox for its entries)
-
-
-
(and remove preview label from New Layer dialog)
-
-
-
Reversed to standard order since GHashTable iterators apparently do work "FIFO"
-
-
-
-
-
-
-
GimpUnitEntryTable now uses a GHashTable instead of a GList for storing its entries. The id string of an entry is not stored in the entry itself any more, but via the hash table.
-
-
-
-
-
-
adds gimp_unit_entry_table_get_pixels() and gimp_unit_entry_table_get_value_in_unit ()
-
-
-
Finished porting of GimpPropWidgets to UnitEntry. The old functions are still there to maintain compatibility for the classes which have not been ported yet (namely GimpSizeBox).
-
add_entry() now takes x,y coordinates where to add the new entry. Use add_entry_defaults() to let GimpUnitEntryTable handle the position automatically (entries will be lined up vertically).
-
- adds activates_default function which calls gtk_entry_activates_default for all entries - makes new image dialog use this function, which restores behavior as it was before and should make the unit-tests pass again.
-
fix for another minor problem which may have caused the unit-tests to fail
-
Removed some old SizeEntry related code. Maybe replacement with UnitEntry equivalent is to be done, but that stuff is cosmetic (focus chain, table spacing). Hopefully fixes the problem which prevents current nightlies from passing the unit-tests. Can't run the tests myself though, so this is just a wild guess...
-