Add a comment just noting that I think it's kind of annoying that we next.minor

Wed, 28 Jan 2009 19:26:43 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Wed, 28 Jan 2009 19:26:43 +0000
branch
next.minor
changeset 25906
a64c9c871a23
parent 25905
bd09ebd57b11
child 25907
d601fe848778

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

pidgin/gtkimhtml.c file | annotate | diff | comparison | revisions
--- 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