diff pidgin/gtkconv.c @ 27512:ff18653ef9f4

Add support in Pidgin for playing back audio:// links. Also include a "Save File" menu item to save a permanent copy. Playback uses purple_sound_play_file, which uses a playbin. This will not correctly play back the Siren codec until Bug 588218 is fixed, but that looks like it will be soon. Also, if anyone has a better idea for GtkIMHtml->PidginConversation than g_object_[gs]_data, feel free to fix it. References #393.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 11 Jul 2009 07:01:00 +0000
parents 9c0a18f16fce
children 50effcb66953
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sat Jul 11 06:49:43 2009 +0000
+++ b/pidgin/gtkconv.c	Sat Jul 11 07:01:00 2009 +0000
@@ -4939,6 +4939,7 @@
 
 	gtk_widget_set_name(gtkconv->imhtml, "pidgin_conv_imhtml");
 	gtk_imhtml_show_comments(GTK_IMHTML(gtkconv->imhtml),TRUE);
+	g_object_set_data(gtkconv->imhtml, "gtkconv", gtkconv);
 
 	gtk_scrolled_window_get_policy(GTK_SCROLLED_WINDOW(imhtml_sw),
 	                               &imhtml_sw_hscroll, NULL);