[evolution/webkit: 164/196] Fix the audio-inline plugin
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 164/196] Fix the audio-inline plugin
- Date: Tue, 27 Mar 2012 16:14:30 +0000 (UTC)
commit c1ce3681da161b04c77f3b55a9caeaaef5570365
Author: Dan VrÃtil <dvratil redhat com>
Date: Tue Feb 21 16:23:46 2012 +0100
Fix the audio-inline plugin
plugins/audio-inline/audio-inline.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c
index fa22264..efb1cc6 100644
--- a/plugins/audio-inline/audio-inline.c
+++ b/plugins/audio-inline/audio-inline.c
@@ -289,8 +289,8 @@ write_button_panel (EMFormat *emf,
str = g_strdup_printf (
"<object type=\"application/x-org-gnome-audio-inline-button-panel\" "
- "width=\"100%%\" height=\"auto\" data=\"%s\"></object>",
- puri->uri);
+ "width=\"100%%\" height=\"auto\" data=\"%s\" id=\"%s\"></object>",
+ puri->uri, puri->uri);
camel_stream_write_string (stream, str, cancellable, NULL);
g_free (str);
@@ -334,6 +334,7 @@ org_gnome_audio_inline_format (gpointer ep,
pobj = (EMFormatInlineAudioPURI *) em_format_puri_new (
t->format, sizeof (EMFormatInlineAudioPURI), t->part, classid);
pobj->puri.widget_func = org_gnome_audio_inline_button_panel;
+ pobj->puri.write_func = write_button_panel;
pobj->puri.part = g_object_ref (t->part);
pobj->filename = NULL;
pobj->playbin = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]