include packages.lang in combined progress
authorMichael Andres <ma@suse.de>
Tue, 17 Jul 2007 10:41:36 +0000 (10:41 +0000)
committerMichael Andres <ma@suse.de>
Tue, 17 Jul 2007 10:41:36 +0000 (10:41 +0000)
zypp/parser/susetags/RepoParser.cc

index 9cebd42..788d0b6 100644 (file)
@@ -271,7 +271,8 @@ namespace zypp
              reader.setLocale( toParse );
              reader.setPkgConsumer( bind( &Impl::consumePkgLang, this, _1 ) );
              reader.setSrcPkgConsumer( bind( &Impl::consumeSrcPkgLang, this, _1 ) );
-             reader.parse( inputfile );
+             CombinedProgressData progress( _ticks, PathInfo(inputfile).size()  );
+             reader.parse( inputfile, progress );
            }
 
             if ( ! _ticks.incr( PathInfo(inputfile).size() ) )