[gimp] plug-ins: Fix procedure and file name, list file for translation



commit d15cebe649a11988156eccb3e7292cc5175d023c
Author: João S. O. Bueno <gwidion gmail com>
Date:   Fri May 13 10:27:37 2011 -0400

    plug-ins: Fix procedure and file name, list file for translation

 plug-ins/pygimp/plug-ins/Makefile.am               |    2 +-
 .../{css-gradients.py => gradients-save-as-css.py} |    2 +-
 po-python/POTFILES.in                              |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/Makefile.am b/plug-ins/pygimp/plug-ins/Makefile.am
index 503b008..5610a86 100644
--- a/plug-ins/pygimp/plug-ins/Makefile.am
+++ b/plug-ins/pygimp/plug-ins/Makefile.am
@@ -4,9 +4,9 @@ pluginexecdir = $(gimpplugindir)/plug-ins
 
 scripts = \
 	colorxhtml.py		\
-	css-gradients.py		\
 	file-openraster.py	\
 	foggify.py		\
+        gradients-save-as-css.py\
 	palette-offset.py	\
 	palette-sort.py		\
 	palette-to-gradient.py	\
diff --git a/plug-ins/pygimp/plug-ins/css-gradients.py b/plug-ins/pygimp/plug-ins/gradients-save-as-css.py
old mode 100644
new mode 100755
similarity index 98%
rename from plug-ins/pygimp/plug-ins/css-gradients.py
rename to plug-ins/pygimp/plug-ins/gradients-save-as-css.py
index fd3c65d..5f16348
--- a/plug-ins/pygimp/plug-ins/css-gradients.py
+++ b/plug-ins/pygimp/plug-ins/gradients-save-as-css.py
@@ -84,7 +84,7 @@ def gradient_css_save(gradient, file_name):
         file_.write(format_text(final_text))
 
 register(
-        "palette_from_gradient",
+        "gradient-save-as-css",
         "Creates a new palette from a given gradient",
         "palette_from_gradient (gradient, number, segment_colors) -> None",
         "Joao S. O. Bueno",
diff --git a/po-python/POTFILES.in b/po-python/POTFILES.in
index 348811c..83ed6d7 100644
--- a/po-python/POTFILES.in
+++ b/po-python/POTFILES.in
@@ -7,6 +7,7 @@ plug-ins/pygimp/gimpfu.py
 plug-ins/pygimp/gimpui.py
 
 plug-ins/pygimp/plug-ins/colorxhtml.py
+plug-ins/pygimp/plug-ins/gradients-save-as-css.py
 plug-ins/pygimp/plug-ins/foggify.py
 plug-ins/pygimp/plug-ins/palette-offset.py
 plug-ins/pygimp/plug-ins/palette-sort.py



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]