OSDN Git Service

Establish default preferences for GUI; (cf. MinGW-Feature #2036)
[mingw/mingw-get.git] / src / guiexec.cpp
index 733a9ed..a4ee329 100644 (file)
@@ -175,9 +175,14 @@ void AppWindowMaker::LoadPackageData( bool force_update )
     throw WTK::runtime_error( "Cannot read package catalogue" );
 
   /* Finally, load the installation records pertaining to
-   * the active system map.
+   * the active system map...
    */
   pkgData->LoadSystemMap();
+
+  /* ...and establish any preferences which the user may have
+   * specified within profile.xml
+   */
+  pkgData->EstablishPreferences( "gui" );
 }
 
 static void pkgInvokeInitDataLoad( void *window )