pidgin/gtkimhtml.c

branch
next.minor
changeset 25906
a64c9c871a23
parent 25905
bd09ebd57b11
child 25908
c863fcecb7dd
--- a/pidgin/gtkimhtml.c	Wed Jan 28 10:23:37 2009 +0000
+++ b/pidgin/gtkimhtml.c	Wed Jan 28 19:26:43 2009 +0000
@@ -5866,6 +5866,13 @@
 	return TRUE;
 }
 
+/*
+ * It's kind of a pain that we need this function and the above just
+ * to reinstate the default GtkTextView behavior.  It might be better
+ * if GtkIMHtml didn't intercept the enter key and just required the
+ * application to deal with it--it's really not much more work than it
+ * is to connect to the current "message_send" signal.
+ */
 void gtk_imhtml_set_return_inserts_newline(GtkIMHtml *imhtml)
 {
 	g_signal_connect(G_OBJECT(imhtml), "message_send",

mercurial