[Nvda-dev] commit r2996 - trunk/source

NVDA Subversion svn at nvda-project.org
Sun Jun 14 23:29:50 UTC 2009


Author: nvda
Date: Sun Jun 14 23:29:49 2009
New Revision: 2996

Log:
nvda_slave (explore_userConfigPath): don't pass the 'explore' verb to ShellExecute, rather let it choose what it should do with the directory. Hopefully this should open the directory with the users' chosen folder view settings, rather than the full-blown Windows Explorer.

Modified:
   trunk/source/nvda_slave.pyw

Modified: trunk/source/nvda_slave.pyw
==============================================================================
--- trunk/source/nvda_slave.pyw	(original)
+++ trunk/source/nvda_slave.pyw	Sun Jun 14 23:29:49 2009
@@ -43,7 +43,7 @@
 			if not os.path.isdir(path):
 				os.makedirs(path)
 			import ctypes
-			ctypes.windll.shell32.ShellExecuteW(0,u"explore",path,None,None,1)
+			ctypes.windll.shell32.ShellExecuteW(0,None,path,None,None,1)
 		else:
 			raise ValueError("No such action")
 



More information about the Nvda-dev mailing list