Author: sparky                       Date: Fri Jul  7 19:03:42 2006 GMT
Module: vfmg                          Tag: HEAD
---- Log message:
- make sure to generate icon if it does not exist

---- Files affected:
vfmg:
   vfmg (1.94 -> 1.95) 

---- Diffs:

================================================================
Index: vfmg/vfmg
diff -u vfmg/vfmg:1.94 vfmg/vfmg:1.95
--- vfmg/vfmg:1.94      Fri Apr 28 20:18:19 2006
+++ vfmg/vfmg   Fri Jul  7 21:03:37 2006
@@ -930,7 +930,9 @@
 
                if ( defined $dr->{existing}->{$$d{file}} ) {
                        my $e = $dr->{existing}->{$$d{file}};
-                       if ( 
+                       if (
+                               -r "$opt{icons_dir}/$$d{file}.eap"
+                                       and
                                (
                                        (not defined $$e{Name} and not defined 
$$d{Name}) 
                                                or ($$e{Name} eq $$d{Name})
@@ -1522,7 +1524,7 @@
        $DR{wcnt} = {};
        foreach my $wcnt_file (split /\s*;\s*/, $opt{wcnt_file}) { # {{{
                unless (open F_IN, $wcnt_file) {
-                       warn "Can't open WCNT file: $!\n";
+                       warn "Can't open WCNT file '$wcnt_file': $!\n";
                        next;
                }
                while ( <F_IN> ) {
================================================================

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

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

Reply via email to