Mercurial > vim
diff src/option.c @ 2248:63157185aea5 vim73
updated for version 7.2.442
Problem: Copy/paste with OpenOffice doesn't work.
Solution: Do not offer the HTML target when it is not supported. (James
Vega)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 05 Jun 2010 12:49:46 +0200 |
parents | f8222d1f9a73 |
children | 1bac28a53fae |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -7149,6 +7149,13 @@ check_clipboard_option() clip_html = new_html; vim_free(clip_exclude_prog); clip_exclude_prog = new_exclude_prog; +#ifdef FEAT_GUI_GTK + if (gui.in_use) + { + gui_gtk_set_selection_targets(); + gui_gtk_set_dnd_targets(); + } +#endif } else vim_free(new_exclude_prog);