Author: sparky                       Date: Fri Dec  2 12:53:15 2005 GMT
Module: vfmg                          Tag: DEVEL
---- Log message:
- don't put apps with NoDisplay=true

---- Files affected:
vfmg:
   vfmg (1.73.2.39 -> 1.73.2.40) 

---- Diffs:

================================================================
Index: vfmg/vfmg
diff -u vfmg/vfmg:1.73.2.39 vfmg/vfmg:1.73.2.40
--- vfmg/vfmg:1.73.2.39 Sun Nov 20 23:46:09 2005
+++ vfmg/vfmg   Fri Dec  2 13:53:09 2005
@@ -308,12 +308,13 @@
                Icon            => '',
                Categories      => '',
                Type            => '',
+               NoDisplay       => 'false',
                map {
                        ## "foo = bar" or "Name[baz] = bar"
                        /^\s*
                        (Name(?:\[(?:$langs)\])?
                         |GenericName(?:\[(?:$langs)\])?
-                        |Icon|Exec|Categories|Terminal|Type|Encoding)
+                        |Icon|Exec|Categories|Terminal|Type|Encoding|NoDisplay)
                        \s* = \s* (.+?)
                        \s*$/ox
                  } <F_IN>,
@@ -321,6 +322,7 @@
        close F_IN;
 
        return unless lc $tags{Type} eq 'application';
+       return if lc $tags{NoDisplay} eq 'true';
        $tags{_name} =
          (sort findfirstlang grep /^Name/, keys %tags)[0];
        $tags{name} = $tags{ $tags{_name} };
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/vfmg/vfmg?r1=1.73.2.39&r2=1.73.2.40&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to