gimp-help-2 r2769 - in trunk: . src/using tools



Author: ulfehlert
Date: Sat Feb 28 21:56:19 2009
New Revision: 2769
URL: http://svn.gnome.org/viewvc/gimp-help-2?rev=2769&view=rev

Log:
2009-02-28  Ulf-D. Ehlert  <ulfehlert svn gnome org>

	* tools/validate_references.py: changed (relaxed) images regex

	* src/using/selections.xml: fixed broken image reference


Modified:
   trunk/ChangeLog
   trunk/src/using/selections.xml
   trunk/tools/validate_references.py

Modified: trunk/src/using/selections.xml
==============================================================================
--- trunk/src/using/selections.xml	(original)
+++ trunk/src/using/selections.xml	Sat Feb 28 21:56:19 2009
@@ -177,7 +177,7 @@
       <mediaobject>
         <imageobject>
           <imagedata format="PNG"
-                      fileref="images/toolbox/rect+lasso-ex.png"/>
+                      fileref="images/using/rect+lasso-ex.png"/>
         </imageobject>
         <caption>
           <para>

Modified: trunk/tools/validate_references.py
==============================================================================
--- trunk/tools/validate_references.py	(original)
+++ trunk/tools/validate_references.py	Sat Feb 28 21:56:19 2009
@@ -41,7 +41,7 @@
 IMAGE_NODES = ["imagedata", "graphic", "inlinegraphic"]
 
 # Regular expression for image files to be checked (png and jpg files only)
-IMAGEFILE_REGEX = re.compile('[\w+-]*\.(png|jpg)$')
+IMAGEFILE_REGEX = re.compile('[\w.+-]*\.(png|jpg)$')
 # Regular expression for image files to be skipped
 IGNORE_IMAGE_REGEX = re.compile('callout')
 



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