[Scummvm-cvs-logs] SF.net SVN: scummvm: [28039] scummex/branches/gsoc2007-gameresbrowser/src/ browserapp/MainFormCommands.cpp

zbychs at users.sourceforge.net zbychs at users.sourceforge.net
Thu Jul 12 07:35:39 CEST 2007


Revision: 28039
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28039&view=rev
Author:   zbychs
Date:     2007-07-11 22:35:38 -0700 (Wed, 11 Jul 2007)

Log Message:
-----------
Compiles under Linux - only basic plugin, no Scumm plugin yet.

Modified Paths:
--------------
    scummex/branches/gsoc2007-gameresbrowser/src/browserapp/MainFormCommands.cpp

Modified: scummex/branches/gsoc2007-gameresbrowser/src/browserapp/MainFormCommands.cpp
===================================================================
--- scummex/branches/gsoc2007-gameresbrowser/src/browserapp/MainFormCommands.cpp	2007-07-12 05:32:59 UTC (rev 28038)
+++ scummex/branches/gsoc2007-gameresbrowser/src/browserapp/MainFormCommands.cpp	2007-07-12 05:35:38 UTC (rev 28039)
@@ -135,8 +135,8 @@
 {
 	//wxString plugin = askForAPlugin();
 
-	wxString filepath;
-	wxFileDialog *openDlg = new wxFileDialog(this, wxT("Please select a plugin."), filepath, wxT(""),
+	wxString defpath = PluginUtil::getPluginsDir();
+	wxFileDialog *openDlg = new wxFileDialog(this, wxT("Please select a plugin."), defpath, wxT(""),
 		wxT("All Files|*|")
 		wxT("Shared libs|*.so;*.dll"),
 		wxOPEN);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list