Re: Q to quit - ./src/layout_util.c & accels
John Ellis <[email protected]> Wed, 14 Jan 2004 16:17:19 -0500
| Newsgroups | gmane.comp.gnome.apps.gqview.user |
|---|---|
| Message-ID | <[email protected]> |
Albino wrote: > > I never like to code :) > so I used to modify ~/.gqview/accels to support the old exit with Q > now with last versions the trick isn't working anymore :( > so I was forced to modify the code to reintroduce exit with q (a fast > and senseless editing of ./src/layout_util.c) > there is any chance to have user accels modification reintroduced? > I don't want to go deep inside the code ... The ~.gqview/accels format changed when GQview went to using GTK 2. Remove the file, run GQview and exit to recreate it (chances are this step is not necessary). Then edit the Exit line to look like this: (gtk_accel_path "<main>/File/Exit" "q") Removing the ";" on the beginning of the line is important, as that is what enables it. Greetings, John -- John Ellis <[email protected]> http://gqview.sourceforge.net <GQview> | http://gqapplets.sourceforge.net http://gqmpeg.sourceforge.net <GQmpeg> | <panel applets> ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html