diff src/gtkimhtml.h @ 10108:f0100b414d98

[gaim-migrate @ 11141] Two things: a. Added Enter as a gtk_binding to GtkIMHtml. This fixes everything. Input methods now work. The "Enter sends" and "Ctrl-Enter sends" preferences were removed and defaulted to yes and no respectively, BUT, in a very super-cool turn of events, you can now add your own bindings to .gtkrc to make WHATEVER YOU WANT send. Awesome. Someone should use g_signal_accumulator_true_handled or something to make profiles and away messages able to insert newlines. b. Removed "Use multi-colored screennames in chats," defaulted to yes, and wrote a nifty algorithm to automatically adjust the colors to accomodate the background (see http://gaim.sf.net/sean/porn-chat.png). People should play around and tweak it a bit. The algorithm takes into consideration the luminosity of the current background and the base hue to use for the screenname in generating the new colors. Note that it does this while maintaining the hues. Someone should optimize this so it skips over the floating point arithmatic when the background color is white. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 17 Oct 2004 23:55:49 +0000
parents ba085944efee
children 4d484e455839
line wrap: on
line diff
--- a/src/gtkimhtml.h	Sun Oct 17 22:38:24 2004 +0000
+++ b/src/gtkimhtml.h	Sun Oct 17 23:55:49 2004 +0000
@@ -132,6 +132,7 @@
 	void (*toggle_format)(GtkIMHtml *, GtkIMHtmlButtons);
 	void (*clear_format)(GtkIMHtml *);
 	void (*update_format)(GtkIMHtml *);
+	gboolean (*message_send)(GtkIMHtml *);
 };
 
 struct _GtkIMHtmlFontDetail {