diff pidgin/gtkimhtml.c @ 25942:e0572c12265a

Add a comment just noting that I think it's kind of annoying that we have to do so much crap just to make a newline add a newline
author Mark Doliner <mark@kingant.net>
date Wed, 28 Jan 2009 19:26:43 +0000
parents 8c8948b9f602
children fabd8eda763d
line wrap: on
line diff
--- 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",