diff --git a/ChangeLog b/ChangeLog index cad3a2a6..d97626a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ parser. * data/filetype_extensions.conf, src/filetypes.c: Add filetype extension "*.ruby". + * scintilla/ScintillaGTK.cxx: + Fix wrong target list for PRIMARY clipboard. 2007-05-23 Nick Treleaven diff --git a/scintilla/ScintillaGTK.cxx b/scintilla/ScintillaGTK.cxx index 7f3915a7..0514b15a 100644 --- a/scintilla/ScintillaGTK.cxx +++ b/scintilla/ScintillaGTK.cxx @@ -766,7 +766,7 @@ void ScintillaGTK::Initialise() { gtk_widget_grab_focus(PWidget(wMain)); gtk_selection_add_targets(GTK_WIDGET(PWidget(wMain)), GDK_SELECTION_PRIMARY, - clipboardPasteTargets, nClipboardPasteTargets); + clipboardCopyTargets, nClipboardCopyTargets); #ifndef USE_GTK_CLIPBOARD gtk_selection_add_targets(GTK_WIDGET(PWidget(wMain)), atomClipboard,