Re: New files types handlers
Frédéric <[email protected]> Wed, 15 Nov 2006 23:03:16 +0100
| Newsgroups | gmane.comp.gnome.apps.gqview.devel |
|---|---|
| Organization | Home |
| Message-ID | <[email protected]> |
On Wednesday 15 November 2006 22:50, John Ellis wrote: > If you just want to hack on GQview code to try to get something going, > the ImageLoader functions would be the entry point for tacking on a > parser for text files. The easiest way would be to create a GdkPixbuf, > draw the text onto it (see pixbuf_util.h), and pass the pixbuf to GQview > to display as any other image. Making ImageLoader look to GQview like a > GdkPixbufLoader is in use may be the biggest rough spot. Ok, I see. I don't think I will have time to implement all that... > Symbolic links are a low priority for me right now. :o/ > The way I would do it would be to add it to the move/copy code in > utilops.c as a third mode of operation. > > Warning: utilops.c is the oldest remaining code of GQview, single and > multiple file operations each have a different code path, and you will > either have to add a lot more if()s or change over all of > file_util_move_*() to use switch(). As I really need symbolic links, I will first try to implement them the single-file operation. Thanks, -- Frédéric http://www.gbiloba.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gqview-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gqview-devel
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFW46uYSjuFMxF2CgRAh7OAJ47Dcu8cbxV2zMg6sr4qfO1GbhDfACfcyrD Wvb+k09SvpreshPZCkLHJ2w= =Xo3y -----END PGP SIGNATURE-----