diff gtk/gtkconv.c @ 14520:82b59abcaee4

[gaim-migrate @ 17240] SF Patch #1492561 from Lars T. Mikkelsen "This patch adds gaim-url-handler, a URL handler for most protocols in Gaim. The gaim-url-handler is similar to (and based on) gaim-remote, however, it uses the native URL format of each protocol. Furthermore, the patch includes a GConf schema, which allows Gnome applications to use the URL handler." With this and gaim-send/gaim-send-async, we should be able to drop gaim-remote. Please let me know if you object, or I'll remove gaim-remote shortly. For the record, I know this doesn't support 100% of the ChatZilla IRC URL spec, and I haven't investigated the XMPP URL spec beyond a casual first look. We can tweak these things later -- I figured it was important to get the bulk of the code in place. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 11 Sep 2006 02:30:59 +0000
parents c2fe0f54c389
children 333989477bcd
line wrap: on
line diff
--- a/gtk/gtkconv.c	Mon Sep 11 02:02:18 2006 +0000
+++ b/gtk/gtkconv.c	Mon Sep 11 02:30:59 2006 +0000
@@ -5396,6 +5396,14 @@
 
 }
 
+static void
+gaim_gtkconv_send_confirm(GaimConversation *conv, const char *message)
+{
+	GaimGtkConversation *gtkconv = GAIM_GTK_CONVERSATION(conv);
+
+	gtk_imhtml_append_text(GTK_IMHTML(gtkconv->entry), message, 0);
+}
+
 /*
  * Makes sure all the menu items and all the buttons are hidden/shown and
  * sensitive/insensitive.  This is called after changing tabs and when an
@@ -5780,7 +5788,8 @@
 	gaim_gtkconv_has_focus,            /* has_focus            */
 	gaim_gtkconv_custom_smiley_add,    /* custom_smiley_add    */
 	gaim_gtkconv_custom_smiley_write,  /* custom_smiley_write  */
-	gaim_gtkconv_custom_smiley_close   /* custom_smiley_close  */
+	gaim_gtkconv_custom_smiley_close,  /* custom_smiley_close  */
+	gaim_gtkconv_send_confirm,         /* send_confirm         */
 };
 
 GaimConversationUiOps *