/[pcsx2_0.9.7]/branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/pcsx2/gui/Panels/PluginSelectorPanel.cpp
ViewVC logotype

Diff of /branch/debug/0.X/0.9.X/0.9.7/ramdump-lateset/pcsx2/gui/Panels/PluginSelectorPanel.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 329 by william, Mon Dec 27 04:02:56 2010 UTC revision 330 by william, Tue Dec 28 04:24:23 2010 UTC
# Line 478  void Panels::PluginSelectorPanel::Apply( Line 478  void Panels::PluginSelectorPanel::Apply(
478                          wxString plugname( pi->GetShortname() );                          wxString plugname( pi->GetShortname() );
479    
480                          throw Exception::CannotApplySettings( this )                          throw Exception::CannotApplySettings( this )
481                                  .SetDiagMsg(wxsFormat( L"PluginSelectorPanel: Invalid or missing selection for the %s plugin.", plugname.c_str()) )                                  .SetDiagMsg(pxsFmt( L"PluginSelectorPanel: Invalid or missing selection for the %s plugin.", plugname.c_str()) )
482                                  .SetUserMsg(wxsFormat( L"Please select a valid plugin for the %s.", plugname.c_str() ) + L"\n\n" + GetApplyFailedMsg() );                                  .SetUserMsg(pxsFmt( L"Please select a valid plugin for the %s.", plugname.c_str() ) + L"\n\n" + GetApplyFailedMsg() );
483                  }                  }
484    
485                  g_Conf->BaseFilenames.Plugins[pid] = GetFilename((int)m_ComponentBoxes->Get(pid).GetClientData(sel));                  g_Conf->BaseFilenames.Plugins[pid] = GetFilename((int)m_ComponentBoxes->Get(pid).GetClientData(sel));
# Line 516  void Panels::PluginSelectorPanel::Apply( Line 516  void Panels::PluginSelectorPanel::Apply(
516    
517                  throw Exception::CannotApplySettings( this )                  throw Exception::CannotApplySettings( this )
518                          .SetDiagMsg(ex.FormatDiagnosticMessage())                          .SetDiagMsg(ex.FormatDiagnosticMessage())
519                          .SetUserMsg(wxsFormat(                          .SetUserMsg(pxsFmt(
520                                  _("The selected %s plugin failed to load.\n\nReason: %s\n\n"),                                  _("The selected %s plugin failed to load.\n\nReason: %s\n\n"),
521                                  plugname.c_str(), ex.FormatDisplayMessage().c_str()                                  plugname.c_str(), ex.FormatDisplayMessage().c_str()
522                          ) + GetApplyFailedMsg());                          ) + GetApplyFailedMsg());

Legend:
Removed from v.329  
changed lines
  Added in v.330

  ViewVC Help
Powered by ViewVC 1.1.22