1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: When dropping text from a browser on Vim it receives HTML even
12 though "html" is excluded from 'clipboard'. (Andrei Avk)
13 Solution: Fix the condition for TARGET_HTML.
14 Files: src/gui_gtk_x11.c
17 *** ../vim-7.3.346/src/gui_gtk_x11.c 2011-08-10 17:44:41.000000000 +0200
18 --- src/gui_gtk_x11.c 2011-10-23 20:56:38.000000000 +0200
22 for (i = 0; i < (int)N_DND_TARGETS; ++i)
24 ! if (!clip_html && selection_targets[i].info == TARGET_HTML)
27 targets[j++] = dnd_targets[i];
30 for (i = 0; i < (int)N_DND_TARGETS; ++i)
32 ! if (!clip_html && dnd_targets[i].info == TARGET_HTML)
35 targets[j++] = dnd_targets[i];
36 *** ../vim-7.3.346/src/version.c 2011-10-20 21:58:20.000000000 +0200
37 --- src/version.c 2011-10-26 11:35:23.000000000 +0200
41 { /* Add new patch number below this line */
48 ...for a lawn that needs mowing, windows that need cleaning
49 and gutters that need fixing because it means I have a home.
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\ an exciting new programming language -- http://www.Zimbu.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///