SVN Commit by dpage: r6050 - in trunk/pgadmin3/pgadmin: . frm include/utils utils
SVN Commit by dpage: r6050 - in trunk/pgadmin3/pgadmin: . frm include/utils utils
От:
svn@pgadmin.org
Дата:
Author: dpage Date: 2007-03-13 13:19:01 +0000 (Tue, 13 Mar 2007) New Revision: 6050 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6050&view=rev Log: Add some smarts to the way helper apps are discovered. Try a comprehensive search in the normal places first, and store the path appropriately depending whether we find PG or EDB executables. Then try more brute force methods to populate whichever of the paths may still be empty. Validate that paths are valid if user-set, and invalidate them at startup if required. Modified: trunk/pgadmin3/pgadmin/frm/frmOptions.cpp trunk/pgadmin3/pgadmin/include/utils/misc.h trunk/pgadmin3/pgadmin/pgAdmin3.cpp trunk/pgadmin3/pgadmin/utils/misc.cpp