tarot231 / leafpad

GTK+ based simple text editor
GNU General Public License v2.0
44 stars 14 forks source link

[FIX] WIP duplicate drops #7

Open budRich opened 2 years ago

budRich commented 2 years ago

Fixes #1

https://stackoverflow.com/a/65761140

budRich commented 2 years ago

I just realized that this fixes the duplicate paste bug. but it breaks dropping files. i will see if i can fix it..

budRich commented 2 years ago

i think it works fine now.

tarot231 commented 2 years ago

I read page 9 of the following URL, and it seems that using anything other than GTK_DEST_DEFAULT_ALL requires to be responsible for other signals. http://www.compsci.hunter.cuny.edu/~sweiss/course_materials/csci493.70/lecture_notes/GTK_dragndrop.pdf

Is it possible to fix this while using GTK_DEST_DEFAULT_ALL?