[Swfdec] [PATCH] Manage host based autoplaying from plugin menu

Riccardo Magliocchetti riccardo at datahost.it
Fri May 2 12:19:42 PDT 2008


Hi,

attached a patch that provides the ability to set / unset autoplaying
from the domain the flash come from within the plugin menu. This patch
does not touch the actual logic of setting autoplay automatically on
play start. Hope this is acceptable for inclusion.

There is only a nitpick, the checkbox of the autoplaying is not updated
once the playing is toggled.

I've tried to tackle that problem creating a structure that contains
both the player and the autoplay item and passing them in the
callback function but i'm having problems with types: GtkWidget vs
GtkCheckMenuItem in gtk_check_menu_item_set_active () first parameter.
I'm attaching the same patch above plus these bits too if anybody can
shed some light.

thanks,
riccardo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: manage-autoplay-host-list-from-plugin-menu.diff
Type: text/x-diff
Size: 2933 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20080502/db1485ac/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: experimental-manage-autoplay-host-list-from-plugin-menu.diff
Type: text/x-diff
Size: 4614 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20080502/db1485ac/attachment-0001.diff 


More information about the Swfdec mailing list