Re: Suggestion to quick edit

John Ellis <[email protected]> Thu, 14 Dec 2006 18:03:41 -0500
Newsgroups gmane.comp.gnome.apps.gqview.devel
Message-ID <[email protected]>
Fr=E9d=E9ric wrote:
> Hello,
> =

> Could it be possible to assign the double-click action on a thumbnail to =

> open the image in the first editor defined in editors tab (default to =

> Gimp)?
> =

> To be short, double-click <-> Ctrl-1

In view_file_list.c and view_file_icon.c have a look in
[vflist/vficon]_press_cb(). The test is already there for a double click to =

enact fullscreen but is #if 0'd out. The test is for (bevent->type =3D=3D =

GDK_2BUTTON_PRESS). Enable the code and change the fullscreen action to =

something like:

   if (fd) start_editor_from_file(0, fd->path);


Greetings,
John

-- =

John Ellis <[email protected]>

http://gqview.sourceforge.net <GQview> | http://hideseek.sourceforge.net
http://gqmpeg.sourceforge.net <GQmpeg> |     <Preferences Hide and Seek>



-------------------------------------------------------------------------
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=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV