void Dialogs::showChangeSkin()
{
showFileGeneric( _("Open a skin file"),
- _("Skin files (*.vlt;*.zip)|*.vlt;*.zip|Skin files (*.xml)|*.xml"),
+ _("Skin files (*.vlt;*.wsz)|*.vlt;*.wsz|Skin files (*.xml)|*.xml"),
showChangeSkinCB, kOPEN );
}
p_demux->pf_demux = Demux;
p_demux->pf_control = DemuxControl;
- // Test that we have a valid .vlt file, based on the extension
+ // Test that we have a valid .vlt or .wsz file, based on the extension
// TODO: an actual check of the contents would be better...
if( ( ext = strchr( p_demux->psz_path, '.' ) ) == NULL ||
- strcasecmp( ext, ".vlt" ) )
+ ( strcasecmp( ext, ".vlt" ) && strcasecmp( ext, ".wsz" ) ) )
{
return VLC_EGENERIC;
}
{
extension = name.substr( name.size() - 4, 4 );
}
- if( extension == ".vlt" || extension == ".zip" )
+ if( extension == ".vlt" || extension == ".wsz" )
{
string path = rDir + sep + name;
msg_Dbg( getIntf(), "found skin %s", path.c_str() );