After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345706 - Support for StreamableContent interface
Support for StreamableContent interface
Status: RESOLVED FIXED
Product: at-poke
Classification: Deprecated
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2006-06-22 23:20 UTC by bill.haneman
Modified: 2006-08-23 17:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to add StreamableContent testing to at-poke (20.19 KB, patch)
2006-06-22 23:21 UTC, bill.haneman
committed Details | Review

Description bill.haneman 2006-06-22 23:20:29 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.
Comment 1 bill.haneman 2006-06-22 23:21:19 UTC
Created attachment 67875 [details] [review]
patch to add StreamableContent testing to at-poke
Comment 2 bill.haneman 2006-06-22 23:22:24 UTC
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.
Comment 3 Michael Meeks 2006-08-23 13:35:53 UTC
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.
Comment 4 bill.haneman 2006-08-23 17:42:00 UTC
Thanks Michael!