Gimp/app
Michael Natterer 4ea171c50e Issue #1213 - Text Tool Preset does not restore font face/name...
...after program restart

GimpContext was always supposed to keep the names of objects (brush,
pattern, font etc.) around even if these objects don't exist, for
cases like refreshing the data in a GimpDataFactory (which worked
fine), but also for deserializing the names of objects which don't
exist *yet* (delayed loading, no-data or whatever).

This commit fixes the delayed loading case (particularly affects fonts):

gimp_context_deserialize_property(): always keep the name of the
object around when it is not found, not only in the no-data case.

gimp_context_copy_property(): always copy the object *and* its name to
the dest context.

Add GimpConfig::duplicate() and ::copy() implementations which chain
up for duplicating/copying all properties and additionally copy all
object names to the new/dest context.

(cherry picked from commit ed1e2b1524)
2018-06-17 14:19:36 +02:00
..
actions app: do not stop the measurement when straightening. 2018-06-05 23:36:24 +02:00
config app: change all GimpCoreConfig data paths to GIMP_CONFIG_PARAM_CONFIRM 2018-06-03 20:47:49 +02:00
core Issue #1213 - Text Tool Preset does not restore font face/name... 2018-06-17 14:19:36 +02:00
dialogs app: remove all old font management code, switch to GimpFontFactory[View] 2018-06-03 20:48:34 +02:00
display Fix encoding. The world should be utf-8. 2018-06-16 03:50:14 +02:00
file
gegl Use g_set_object() in a lot of places, and splrinkle some g_clear_object() 2018-06-01 13:14:47 +02:00
gui app: fix gui_wait() cleanup 2018-05-29 16:35:43 -04:00
menus app: allow hiding groups in the dashboard 2018-04-02 16:47:41 -04:00
operations Issue #1490 - Crash when flattening an XCF file 2018-05-25 20:35:32 -04:00
paint Use g_set_object() in a lot of places, and splrinkle some g_clear_object() 2018-06-01 13:14:47 +02:00
pdb app: do not stop the measurement when straightening. 2018-06-05 23:36:24 +02:00
plug-in app: also search interpreters executable in $PATH. 2018-06-16 03:18:19 +02:00
propgui app: add custom GUI for gegl:recursive-transform-plus 2018-06-05 04:33:09 -04:00
tests app: remove the gimp-2-6 session compatibility test 2018-05-20 20:02:13 +02:00
text app: use default new-layer mode for layer groups and text layers 2018-06-06 02:40:55 -04:00
tools app: fix scaling around center in scale tool; avoid negative width/height 2018-06-15 16:05:13 -04:00
vectors app: change offsets parameters of GimpItem::translate() from int to double 2018-04-23 01:27:56 +02:00
widgets Revert "Issue #1612: Symmetry Painting dock needs a design tweak." 2018-06-14 03:59:04 +02:00
xcf Issue #1291 - Non-intrusive warning when saved XCF version... 2018-06-06 23:12:04 +02:00
.gitignore
about.h
app.c app: cleanly remove log handlers on exit 2018-05-03 15:50:29 -04:00
app.h app: add --show-debug-menu command-line option 2018-03-29 05:26:03 -04:00
errors.c app: put the call to gimp_gui_ungrab() back in gimp_eek() 2018-05-13 13:49:33 +02:00
errors.h
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c
gimp-log.h
gimp-priorities.h
gimp-version.c
gimp-version.h
gimpcore.def
language.c
language.h
main.c app: make --show-playground visible in --help. 2018-04-21 15:48:22 +02:00
Makefile.am app: add GimpAsyncSet 2018-05-29 16:07:48 -04:00
sanity.c configure.ac: require babl >= 0.1.51 2018-06-05 04:39:54 -04:00
sanity.h
signals.c
signals.h
tests.c app: popup error at startup when some fonts fail to load. 2018-05-01 03:25:58 +02:00
tests.h
unique.c
unique.h