Files
gimp/plug-ins/script-fu/scripts/web-browser.scm
Michael Natterer 8a46203e5a Script-Fu string cleanup/simplification: apply the same fix for menu path
2004-11-18  Michael Natterer  <mitch@gimp.org>

	Script-Fu string cleanup/simplification: apply the same fix for
	menu path translation that was done for plug-ins a while ago.

	* plug-ins/script-fu/script-fu.c (script_fu_auxillary_init): use
	gimp_plugin_menu_register() on the "Refresh" temp_proc.

	* plug-ins/script-fu/scripts/*.scm: ported all scripts to use
	script-fu-menu-register and pass just the menu label in
	script-fu-register. Cleaned up all register calls to share a
	somewhat similar formatting.
2004-11-18 22:44:28 +00:00

66 lines
2.2 KiB
Scheme

; The GIMP -- an image manipulation program
; Copyright (C) 1995 Spencer Kimball and Peter Mattis
;
; gimp-online.scm
; Copyright (C) 2003 Henrik Brix Andersen <brix@gimp.org>
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
(define (gimp-online-main-web-site)
(plug-in-web-browser "http://www.gimp.org"))
(define (gimp-online-developer-web-site)
(plug-in-web-browser "http://developer.gimp.org"))
(define (gimp-online-plug-in-web-site)
(plug-in-web-browser "http://registry.gimp.org"))
(script-fu-register "gimp-online-main-web-site"
_"_Main Web Site"
"Link to http://www.gimp.org"
"Henrik Brix Andersen <brix@gimp.org>"
"Henrik Brix Andersen <brix@gimp.org>"
"2003"
"")
(script-fu-menu-register "gimp-online-main-web-site"
_"<Toolbox>/Help/The GIMP Online")
(script-fu-register "gimp-online-developer-web-site"
_"_Developer Web Site"
"Link to http://developer.gimp.org"
"Henrik Brix Andersen <brix@gimp.org>"
"Henrik Brix Andersen <brix@gimp.org>"
"2003"
"")
(script-fu-menu-register "gimp-online-developer-web-site"
_"<Toolbox>/Help/The GIMP Online")
(script-fu-register "gimp-online-plug-in-web-site"
_"Plug-in _Registry"
"Link to http://registry.gimp.org"
"Henrik Brix Andersen <brix@gimp.org>"
"Henrik Brix Andersen <brix@gimp.org>"
"2003"
"")
(script-fu-menu-register "gimp-online-plug-in-web-site"
_"<Toolbox>/Help/The GIMP Online")