External Dependency Proposal: GtkImageView

View: New views
3 Messages — Rating Filter:   Alert me  

External Dependency Proposal: GtkImageView

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd like to use Björn Lindqvist's GtkImageView widget [1] in Evolution
for displaying image attachments inline.

Evolution has been displaying image attachments inline on its own for
ages, but GtkImageView does it better, is fully documented [2], and
offers panning and zooming features that are nice for large images.

I already have a working implementation in the form of a conditionally
compiled "inline-image" plugin (which replaces our crusty old built-in
image handling code), so the dependency would be optional.

Approving GtkImageView as an external dependency might also make it more
appealing to the gThumb and Eye of GNOME developers.

Matthew Barnes


[1] http://trac.bjourne.webfactional.com/
[2]
http://trac.bjourne.webfactional.com/chrome/common/gtkimageview-docs/

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@...
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: External Dependency Proposal: GtkImageView

by Vincent Untz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Le dimanche 08 novembre 2009, à 02:16 -0500, Matthew Barnes a écrit :

> I'd like to use Björn Lindqvist's GtkImageView widget [1] in Evolution
> for displaying image attachments inline.
>
> Evolution has been displaying image attachments inline on its own for
> ages, but GtkImageView does it better, is fully documented [2], and
> offers panning and zooming features that are nice for large images.
>
> I already have a working implementation in the form of a conditionally
> compiled "inline-image" plugin (which replaces our crusty old built-in
> image handling code), so the dependency would be optional.
>
> Approving GtkImageView as an external dependency might also make it more
> appealing to the gThumb and Eye of GNOME developers.

I'd love to get comments from gthumb/eog people about this.

Also, what features of GtkImageView do you use? Should some of those
live in some way in gtk+?

Thanks,

Vincent

--
Les gens heureux ne sont pas pressés.
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@...
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: External Dependency Proposal: GtkImageView

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-11-10 at 14:05 +0100, Vincent Untz wrote:
> I'd love to get comments from gthumb/eog people about this.
>
> Also, what features of GtkImageView do you use? Should some of those
> live in some way in gtk+?

I found a discussion with the EoG folks from a couple years ago.
Sounded like they were receptive to the idea but it just never went
anywhere:

http://mail.gnome.org/archives/eog-list/2007-August/msg00008.html

I was actually pointed to GtkImageView by one of the EoG developers
after asking whether they'd be open to shipping a reusable widget
library like Evince has done:

http://mail.gnome.org/archives/eog-list/2009-October/msg00011.html

I've gone ahead with this in Evolution since the dependency is optional.
Currently I'm just using its scaling and panning features for large
image attachments in an email (and letting it cache pixbufs behind the
scenes so we don't have to).

I'm sure there's other cute things we could do with it.  There's an
enhancement request on file for showing a full-screen slide show of
images in a given email.  That would be easier to do now, I guess.

Should these features live directly in GTK+?  Right now I'd say no, but
seeing EoG and/or gThumb move to and possibly help maintain or improve
GtkImageView would be a good first step in that direction.

Matthew Barnes

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@...
http://mail.gnome.org/mailman/listinfo/desktop-devel-list