]> git.tdb.fi Git - ext/subsurface.git/commit
Add drag-n-drop support to be able to re-integrate the dive list
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Sep 2011 19:54:53 +0000 (12:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Sep 2011 19:54:53 +0000 (12:54 -0700)
commit1d7f5a4de1632e1493b47943d5fc6fceeeac0950
treef1bf7b95479a43339e637971329a92f8cc24bda2
parent3ca194b34695989f096b9533ea233ee1beec7733
Add drag-n-drop support to be able to re-integrate the dive list

This is somewhat hacky, and there is clearly something I still don't
understand about gtk selections and drag-n-drop.  Dropping it back
works, but I get a nasty error when I do it:

   (subsurface:8512): Gtk-CRITICAL **: IA__gtk_selection_data_set: assertion `length <= 0' failed

even though I actually never set any selection at all directly.  So
there must be some internal gtk rule that I am violating, but I can't
see what it is.

I probably shouldn't commit it with a known ugly wart like that, but I
really have no clue.  Maybe somebody else can figure out what is up.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
gtk-gui.c