[ros-diffs] [gedmurphy] 40327: Stop mithering me and just open the MDI shell browser by default.

gedmurphy at svn.reactos.org gedmurphy at svn.reactos.org
Thu Apr 2 16:59:29 CEST 2009


Author: gedmurphy
Date: Thu Apr  2 18:59:18 2009
New Revision: 40327

URL: http://svn.reactos.org/svn/reactos?rev=40327&view=rev
Log:
Stop mithering me and just open the MDI shell browser by default.

Modified:
    trunk/reactos/base/shell/explorer/explorer.cpp

Modified: trunk/reactos/base/shell/explorer/explorer.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explorer.cpp?rev=40327&r1=40326&r2=40327&view=diff
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer.cpp [iso-8859-1] Thu Apr  2 18:59:18 2009
@@ -723,16 +723,7 @@
 
 	g_Globals._prescan_nodes = false;
 
-	XMLPos explorer_options = g_Globals.get_cfg("general/explorer");
-	XS_String mdiStr = XMLString(explorer_options, "mdi");
-
-	 // If there isn't yet the "mdi" setting in the configuration, display the MDI/SDI dialog.
-	if (mdiStr.empty())
-		Dialog::DoModal(IDD_MDI_SDI, WINDOW_CREATOR(MdiSdiDlg), g_Globals._hwndDesktop);
-
-	 // Now read the MDI attribute again and interpret it as boolean value.
-	cmd._mdi = XMLBool(explorer_options, "mdi", true);
-
+	cmd._mdi =  true;
 	cmd._cmdShow = cmdShow;
 
 	 // parse command line options, which may overwrite the MDI flag



More information about the Ros-diffs mailing list