summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-07-17 04:58:02 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-17 04:58:02 +0000
commitfb881018542b3b567177d0a1063d9169b17bab48 (patch)
tree29a44f0aab7f4b3bc18b41f11eaf1df401c43695 /docs/reference
parenta5638e82e8f5bef394166fecd997752204299155 (diff)
downloadgdk-pixbuf-fb881018542b3b567177d0a1063d9169b17bab48.tar.gz
Support text/plain selection target (#55117, Owen Taylor)
Sat Jul 17 00:48:27 2004 Matthias Clasen <maclas@gmx.de> Support text/plain selection target (#55117, Owen Taylor) * gtk/gtkselection.h: * gtk/gtkdnd.h: * gtk/gtkselection.c (gtk_target_list_add_text_targets): * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New functions to facilitate handling of text targets. * gtk/gtkentry.c: * gtk/gtktextview.c: Use the new text target handling functions instead of hardwiring the list of supported text targets everywhere. * gtk/gtkselection.c (gtk_selection_data_get_text): (gtk_selection_data_set_text): Support the targets text/plain, text/plain?charset=utf-8 and text/plain?charset=<LOCALE-CHARSET> as outlined in #55117: For text/plain send only ASCII, but accept 8-bit text and treat it as ISO-8859-1 as specified by the Xdnd spec. Always send CRLF terminators. Accept either and convert into the native terminator for the platform.
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/ChangeLog5
-rw-r--r--docs/reference/gtk/gtk-sections.txt3
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 43a6ae191..99042accf 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jul 17 00:55:54 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtk-sections.txt: Add new text target list handling
+ functions.
+
Fri Jul 16 23:54:18 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add new GtkWindow and GtkIconTheme
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt
index c9ea44a28..38202291c 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -4890,6 +4890,7 @@ gtk_target_list_ref
gtk_target_list_unref
gtk_target_list_add
gtk_target_list_add_table
+gtk_target_list_add_text_targets
gtk_target_list_remove
gtk_target_list_find
gtk_selection_owner_set
@@ -4958,6 +4959,7 @@ gtk_drag_dest_unset
gtk_drag_dest_find_target
gtk_drag_dest_get_target_list
gtk_drag_dest_set_target_list
+gtk_drag_dest_add_text_targets
gtk_drag_finish
gtk_drag_get_data
gtk_drag_get_source_widget
@@ -4979,6 +4981,7 @@ gtk_drag_source_set_icon_stock
gtk_drag_source_unset
gtk_drag_source_set_target_list
gtk_drag_source_get_target_list
+gtk_drag_source_add_text_targets
</SECTION>