diff src/gtkimhtml.h @ 8456:5f8d4ab6d375

[gaim-migrate @ 9186] "his patch fixes an issue where the gtkimhtml and the gtkimtoolbar did not know what protocol the conversation was for so they we're either displaying core smileys or white boxes with an x through them. this also make gtkimthml honor the ctrl-{b/u/i} and ctrl-number prefs." --Gary Kramlich who continues: "in the first patch i forgot to adjust the protocol name in the conversation when an item in the send as menu was selected. This fixes that." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 16 Mar 2004 19:35:17 +0000
parents 2e18099ded93
children 6d0869404696
line wrap: on
line diff
--- a/src/gtkimhtml.h	Tue Mar 16 19:19:36 2004 +0000
+++ b/src/gtkimhtml.h	Tue Mar 16 19:35:17 2004 +0000
@@ -82,10 +82,14 @@
 	GdkCursor *text_cursor;
 	GHashTable *smiley_data;
 	GtkSmileyTree *default_smilies;
+	char *protocol_name;
 
 	gboolean show_smileys;
 	gboolean show_comments;
 
+	gboolean html_shortcuts;
+	gboolean smiley_shortcuts;
+
 	GtkWidget *tip_window;
 	char *tip;
 	guint tip_timer;
@@ -191,6 +195,12 @@
 
 void       gtk_imhtml_show_comments    (GtkIMHtml *imhtml, gboolean show);
 
+void       gtk_imhtml_html_shortcuts(GtkIMHtml *imhtml, gboolean allow);
+
+void       gtk_imhtml_smiley_shortcuts (GtkIMHtml *imhtml, gboolean allow);
+
+void       gtk_imhtml_set_protocol_name(GtkIMHtml *imhtml, gchar *protocol_name);
+
 #define    gtk_imhtml_append_text(x, y, z) \
  gtk_imhtml_append_text_with_images(x, y, z, NULL)