GNOME Bugzilla – Bug 345706
Support for StreamableContent interface
Last modified: 2006-08-23 17:42:00 UTC
at-poke currently does almost nothing with the StreamableContent interface. This is no doubt partly because that interface itself has historically been very rare/unimplemented. However now that the interface is being provided (CVS HEAD of gail and at-spi), and expected on things like firefox/gecko, it would be nice to add a quick test for it to at-poke. I've put together a patch which does this - specifically, it can handle streamable content mime-types of "text/plain" and "application/x-gtk-text-buffer-rich-text" and any other text formats which GtkTextView can support. It also lists other mimetypes for those situations where the data isn't textual in nature, so you can at least see that an object implements StreamableContent and see what data types it is offering to stream. It doesn't use the StreamableContent_getURI method yet, but that could certainly be added later.
Created attachment 67875 [details] [review] patch to add StreamableContent testing to at-poke
I should note that the above patch uses some gtk+-2.9 features, so it's only suitable for HEAD. I didn't write the ChangeLog yet but would be happy to do so.
Looks fine to me - if it uses gtk+-2.9 features (and/or whatever version of atk+ that implies) can we add: #if GTK_CHECK_VERSION(2,9,0) guards around that [ or whatever ] - so we can continue to use it on our enterprisey systems :-) Thanks.
Thanks Michael!