Gimp/app
Michael Natterer 16938bb667 Bug 676522 - Make DND work between images in *one* dockable...
...after in-DND image switching

This was actually two issues:

First, DND data is normally transferred on drop. In this situation the
contents of the source widget change in the middle of DND, so when the
drop happens there is nothing to transfer. Fixed this by attaching the
thing to transfer (image, item, color etc) to the GdkDragContext when
the DND operation starts, and trying to retrieve it on drop. Only when
nothing is attached we fall back to the traditional way of asking the
source widget. This is expected and an obvious fix.

Second, and not so obvious, the source part of the GTK+-internal state
of the DND operation (GtkDragSourceInfo) contains a *reference* (not a
copy) of the source widget's target list. When we change images in the
middle of DND, the source layer view's target list gets modified, and
because GtkDragSourceInfo only references it, the state of the ongoing
DND operation gets destroyed with it. Fixed this by changing
gimp_dnd_data_source_remove() to never change a source widget's target
list but instead create a new list without the removed target and
replace the source widget's list, keeping the ongoing drag's list
unaffected.

Also kept all the GIMP_LOG() stuff I added during debugging there, it
turned out to be quite useful.
2014-02-15 21:29:36 +01:00
..
actions Bug 723649 - Increase/Decrease brush size relative actions don't work 2014-02-07 21:18:26 +01:00
config Add automake 1.13+ test outputs to .gitignore 2014-01-10 15:31:34 -08:00
core Bug 622758 - Fix error display for thumbnail creation 2014-02-14 15:08:45 +13:00
dialogs Bug 721249 - pdb.gimp_context_set_brush_size() dont't work 2014-02-06 23:26:53 +01:00
display app: Fix on canvas widgets ignoring clicks from tablets - bug 614441 2014-02-10 22:28:08 +01:00
file Bug 704896 - pop ups are annoying when opening multiple files... 2013-11-20 23:17:40 +01:00
gegl app: Set Gimp specific TileHandler properties 2014-02-02 02:12:02 -08:00
gui app: update a comment for translators. 2013-12-14 10:26:55 +13:00
menus app: fix warning and indentation in windows_menu_display_reorder() 2013-09-17 12:20:39 +02:00
operations Bug 723213 - colors/levels/auto is broken for high bitdepth images 2014-01-30 00:19:37 +01:00
paint app: add gimp_paint_options_set_default_brush_size() 2014-01-04 15:48:34 +01:00
pdb Bug 721249 - pdb.gimp_context_set_brush_size() dont't work 2014-02-06 23:26:53 +01:00
plug-in app: formatting in gimppluginmanager-restore.c 2013-11-06 21:20:00 +01:00
tests Add automake 1.13+ test outputs to .gitignore 2014-01-10 15:31:34 -08:00
text Bug 719560 - Build failure with freetype 2.5.1 2013-11-29 21:57:46 +01:00
tools Bug 701159 - Wrong name in transform tool dialogs... 2014-02-05 00:57:28 +01:00
vectors app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
widgets Bug 676522 - Make DND work between images in *one* dockable... 2014-02-15 21:29:36 +01:00
xcf initialize length to appease cppcheck 2013-11-28 17:43:14 +01:00
.gitignore
about.h app: remove <> around the gnu.org URL in GIMP_LICENSE 2013-03-21 23:59:49 +01:00
app.c app: always disable CL before GEGL is initialized 2013-10-20 00:34:18 +02:00
app.h
batch.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
batch.h
errors.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
errors.h
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c app: speed up image rendering by removing expose overhead 2013-08-09 20:20:02 +02:00
gimp-log.h app: add G_GNUC_PRINTF() to places where the args are a va_list 2013-11-29 00:33:05 +01:00
gimpcore.def
language.c Bug 675554 - fix overriden language environment variables on Windows. 2013-10-16 00:33:17 +13:00
language.h
main.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
Makefile.am app: Fix compiliation if gexiv2/gexiv2.h is not in the default include path. 2013-12-24 11:46:16 -05:00
sanity.c app: follow gegl:dot removal 2013-11-11 16:52:10 +01:00
sanity.h
signals.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
signals.h
tests.c app: use the "no-cpu-accel" command line option again 2013-06-19 20:45:17 +02:00
tests.h Bug 709878 - test-session-* skipped when xvfb-run is unavailable. 2013-10-11 21:57:42 +13:00
unique.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
unique.h
units.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
units.h
version.c
version.h