xscanimage and Gimp Menu Location

From: Peter J Jones (p@dancris.com)
Date: Wed Feb 02 2000 - 13:35:52 PST

  • Next message: Oliver Rauch: "Re: xscanimage and Gimp Menu Location"

    Please forgive me if this topic has already been discussed,
    I just got a SCSI card and hooked up by Mac's scanner.

    First off SANE Rocks! I love it and it works great!

    I am running Gimp 1.1.15 and wanted the xscanimage menu
    items under the File/Acquire menu so I make this patch.
    I wanted to post it here mainly to say hello and
    here is something that I like.

    --- xscanimage.c.orig Wed Feb 2 10:29:58 2000
    +++ xscanimage.c Wed Feb 2 10:30:50 2000
    @@ -251,7 +251,7 @@
           "Andy Beck, Tristan Tarrant, and David Mosberger",
           "Andy Beck, Tristan Tarrant, and David Mosberger",
           "8th June 1997",
    - "<Toolbox>/Xtns/Acquire Image/Device dialog...",
    + "<Toolbox>/File/Acquire/Device dialog...",
           "RGB, GRAY",
           PROC_EXTENSION,
           nargs, nreturn_vals,
    @@ -266,7 +266,7 @@
           if (encode_devname (devlist[i]->name, sizeof (name) - 11, name + 11) < 0)
      continue; /* name too long... */

    - strncpy (mpath, "<Toolbox>/Xtns/Acquire Image/", sizeof (mpath));
    + strncpy (mpath, "<Toolbox>/File/Acquire/", sizeof (mpath));
           len = strlen (mpath);
           for (j = 0; devlist[i]->name[j]; ++j)
      {

    --
    ........................................................................
    : Peter J Jones                     :                   Unix/Perl Geek :
    : Surprise, Arizona                 :                    Four Wheeling :
    : www.dancris.com/~p                :                      Jesus Freak :
    :...................................:..................................:
    :"... it doesn't work anymore, get me some black tape!" -- Bill Kitchen:
    :......................................................................:
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Wed Feb 02 2000 - 13:30:05 PST