Viewer+Development

Windows Solution:


 * 1) 1. Grid manager- default grid would be UC’s Opensim grid, allow user to add more grids
 * 2) 2. Home page in the browser would be UCSIM’s web page
 * 3) 3. Welcome screen would contain []


 * Solution-1:**

In the Grid manager delete all other grids given in the list and add UCSIM-OPENSIM grid, so that the only available grid is OPENSIM. Change homepage link in //settings.xml// by setting the **Value** key in **BrowserHome** to [] This is something that has to be done for every system where Imprudence is installed. Solution-2 is portable.


 * Solution-2:**

(gSavedSettings.getBOOL("CheckForGridUpdates")) parseUrl("http://app.kokuaviewer.org/grids/grids.xml", !mGridInfo.empty); from //hippoGridManager.cpp//
 * If Imprudence has already been installed in the system, delete the files from C:\users\username\appdata\roaming\imprudence.The code is written in such a way that it pulls out the data stored in this folder for starting up the browser. Since we only want the UCSIM-OPENSIM grid, this data needs to be deleted.
 * Add UCSIM-OPENSIM grid information to //default-grids.xml.//
 * Set default grid name to UCSIM grid nick name in //settings.xml//
 * Set the loginpage to [] in //settings.xml//
 * Comment out the code

This code is responsible for downloading the grid information of the default grids from the Imprudence site if it doesn’t find any of them from the cache.As a result the default grid list will be populated with all the original grids. Removing this would ensure that there is only one grid i.e. the UCSIM grid available in the list and the user can choose that.

The main drawback with this method is that if the user wants to add another grid he needs to manually add the whole details in the Grid Manager.