Jehan
3fa016fb4b
app: clean out tab indentations.
2016-12-21 04:05:32 +01:00
Michael Natterer
e5b6806fe2
app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros
...
and remove lots of labels from calls to gimp_prop_foo_new(). Also
had to manually remove some unwanted labels that are now added
automatically, fixes bug #761880 .
2016-02-11 23:46:24 +01:00
Michael Natterer
997314d4e9
Bug 754518 - gimp-drawable-curves-spline does not take the advertised...
...
...number of points
gimp_curves_config_new_spline(): set the GimpCurve's n_points, not
n_samples. The bug title describes exactly what was happening.
2015-09-07 21:43:18 +02:00
Michael Natterer
14978bfe5d
Simplify calls to g_output_stream_write_all()
...
It returns TRUE only if all bytes were written, so there is no need to
get and check the bytes_written return value.
2014-09-07 20:30:14 +02:00
Michael Natterer
29427fa4f1
app: port GimpImageMapTool settings import/export to streams
...
Simplifies and centralizes error checking and reporting.
2014-07-04 18:31:00 +02:00
Michael Natterer
b4cdecb4c3
app: port the curves and levels cruft format loaders to GIO
2014-07-04 13:18:01 +02:00
Michael Natterer
a572638656
app: fix copy/paste GError bug in some calls to g_file_replace()
2014-07-03 13:01:01 +02:00
Michael Natterer
4e6a6079f4
app: port levels cruft format saving to GIO
2014-07-02 23:45:16 +02:00
Michael Natterer
87ecc83885
app: port curves cruft format saving to GIO
2014-07-02 23:40:26 +02:00
Michael Natterer
847606d177
app: add back gimp_curves_config_new_spline,explicit()
...
but as versions using gdouble instead of guint8. Use the new functions
from the just renamed _cruft() variants.
2014-06-17 22:23:41 +02:00
Michael Natterer
f5e4f01c52
app: make gimp_curves_config_new_spline,explicit() handle variable #points
...
Also, append _cruft to the function name because they take guint8*
arrays, will add proper ones next.
2014-06-17 21:10:33 +02:00
Michael Natterer
8be52f6aa7
app, libgimp*: pass translated blurbs to GIMP_CONFIG_INSTALL_PROP_FOO()
...
instead of passing N_()-strings; and remove gettext() calls on these
strings when using them. Reduces complexitx, and fixes double- and
untranslated strings. Also enables to treat properties of GIMP and
GEGL objects the same way, which was totally broken before.
2014-05-14 23:34:01 +02:00
Michael Natterer
23037b5230
app: convert all stock IDs kept around by the core by icon names
...
Particularly GimpViewable's stock_id. Make sure old config files
containing stock IDs are still properly parsed.
2014-05-07 01:01:56 +02:00
Michael Natterer
9072bf331a
app: rename GimpImageMapConfig to GimpSettings
...
It was misnamed from the beginning and has no relation to GimpImageMap
except that it happens to be used by GimpImageMapTools. Now it feels
less weird to potentially use it for other settings too.
2013-05-25 15:26:18 +02:00
Michael Natterer
6781439fdc
Bug 700653 - Duplicate "(time ...)" values in gimp-curves-tool.settings
...
and gimp-levels-tool.settings
Serialize the channel properties manually (not using
gimp_config_serialize_properties()), so the parent class' "time"
property doesn't end up in the config file once per channel.
2013-05-19 21:44:00 +02:00
Michael Natterer
7101ee191a
app: move all GEGL operations to new directory app/operations/
2012-05-10 21:22:44 +02:00