Subversion Repositories spk

Rev

Rev 214 | Rev 226 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 214 Rev 224
Line 46... Line 46...
46
 
46
 
47
			if ( p->icon() )
47
			if ( p->icon() )
48
			{
48
			{
49
				//extract icon
49
				//extract icon
50
				C_File *f = p->icon();
50
				C_File *f = p->icon();
51
				f->setFullDir(_S(System::IO::Path::GetTempPath()));
51
				f->setFullDir(_WS(System::IO::Path::GetTempPath()));
52
				if ( f->UncompressData() )
52
				if ( f->UncompressData() )
53
					f->writeFilePointer();
53
					f->writeFilePointer();
54
				
54
				
55
				PluginManager::DisplayListIcon(p, ListPackages, item);
55
				PluginManager::DisplayListIcon(p, ListPackages, item);
56
			}
56
			}
57
 
57
 
58
			C_File *gf = p->GetFirstFile(FILETYPE_ADVERT);
58
			C_File *gf = p->GetFirstFile(FILETYPE_ADVERT);
59
			if ( gf )
59
			if ( gf )
60
			{
60
			{
61
				gf->setFullDir(_S(System::IO::Path::GetTempPath()));
61
				gf->setFullDir(_WS(System::IO::Path::GetTempPath()));
62
				if ( gf->UncompressData() )
62
				if ( gf->UncompressData() )
63
					gf->writeFilePointer();
63
					gf->writeFilePointer();
64
			}
64
			}
65
 
65
 
66
 
66