~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/script-fu/scripts/copy-visible.scm

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; The GIMP -- an image manipulation program
 
1
; GIMP - The GNU Image Manipulation Program
2
2
; Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
 
 
3
;
4
4
; "Copy Visible" -- copy the visible selection so that it can be pasted easily
5
5
; Copyright (C) 2004 Raphaël Quinet, Adrian Likins, Sven Neumann
6
6
;
7
7
; This program is free software; you can redistribute it and/or modify
8
8
; it under the terms of the GNU General Public License as published by
9
9
; the Free Software Foundation; either version 2 of the License, or
10
 
; (at your option) any later version.  
11
 
 
10
; (at your option) any later version.
 
11
;
12
12
; This program is distributed in the hope that it will be useful,
13
13
; but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
15
; GNU General Public License for more details.
16
 
 
16
;
17
17
; You should have received a copy of the GNU General Public License
18
18
; along with this program; if not, write to the Free Software
19
19
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
20
;
 
21
; 2004-04-14 This script was almost rewritten from scratch
 
22
;     by Raphaël Quinet <raphael@gimp.org>
 
23
;     see also http://bugzilla.gnome.org/show_bug.cgi?id=139989
 
24
;
 
25
; The code is new but the API is the same as in the previous version:
 
26
; "Copy Visible"  version 0.11 01/24/98
 
27
;     by Adrian Likins <adrian@gimp.org>
 
28
;   _heavily_ based on:
 
29
;        cyn-merge.scm   version 0.02   10/10/97
 
30
;        Copyright (C) 1997 Sven Neumann (neumanns@uni-duesseldorf.de)
 
31
;
21
32
; Removed all code and made it a backward-compat wrapper around
22
33
;     (gimp-edit-copy-visible)
23
34
;     2004-12-12 Michael Natterer <mitch@gimp.org>
24
 
 
35
;
25
36
 
26
 
(define (script-fu-copy-visible image
27
 
                                drawable)
28
 
  (gimp-edit-copy-visible image))
 
37
(define (script-fu-copy-visible image drawable)
 
38
  (gimp-edit-copy-visible image)
 
39
)
29
40
 
30
41
(script-fu-register "script-fu-copy-visible"
31
 
                    "Copy Visible"
32
 
                    "This procedure is deprecated! use \'gimp_edit_copy_visible\' instead."
33
 
                    ""
34
 
                    ""
35
 
                    ""
36
 
                    "RGB* INDEXED* GRAY*"
37
 
                    SF-IMAGE    "Image"    0
38
 
                    SF-DRAWABLE "Drawable" 0)
 
42
  "Copy Visible"
 
43
  _"This procedure is deprecated! use \'gimp-edit-copy-visible\' instead."
 
44
  ""
 
45
  ""
 
46
  ""
 
47
  "RGB* INDEXED* GRAY*"
 
48
  SF-IMAGE    "Image"    0
 
49
  SF-DRAWABLE "Drawable" 0
 
50
)