Removed the Reference Paths from CASAManager project file

This commit is contained in:
Jim Norman 2007-01-12 05:20:49 +00:00
parent bbf4a44deb
commit 1f273f2976
2 changed files with 17 additions and 13 deletions

View File

@ -3,7 +3,8 @@
<LastOpenVersion>7.10.3077</LastOpenVersion> <LastOpenVersion>7.10.3077</LastOpenVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ReferencePath>D:\casa\extern\w32\gtk-sharp-2.0\;C:\GtkRun\2.8\lib\gtk-sharp\</ReferencePath> <ReferencePath>
</ReferencePath>
<CopyProjectDestinationFolder> <CopyProjectDestinationFolder>
</CopyProjectDestinationFolder> </CopyProjectDestinationFolder>
<CopyProjectUncPath> <CopyProjectUncPath>

View File

@ -1841,18 +1841,21 @@ namespace Novell.CASA.GUI
string sNewDir = entryStorageDirectory.Text; string sNewDir = entryStorageDirectory.Text;
string sOldDir = Common.GetUserPersistentDir(config); string sOldDir = Common.GetUserPersistentDir(config);
try try
{ {
string sMoveMessage = MoveMiCASAFiles(sOldDir, sNewDir); if (!sNewDir.Equals(sOldDir))
if (sMoveMessage.Equals("Success")) {
{ string sMoveMessage = MoveMiCASAFiles(sOldDir, sNewDir);
// save off selected directory if (sMoveMessage.Equals("Success"))
Common.SetUserPersistentDir(config, sNewDir); {
CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Files moved from\r\n" + sOldDir + "\r\nto\r\n" + sNewDir); // save off selected directory
} Common.SetUserPersistentDir(config, sNewDir);
else CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Files moved from\r\n" + sOldDir + "\r\nto\r\n" + sNewDir);
{ }
CommonGUI.DisplayMessage(Gtk.MessageType.Warning, sMoveMessage); else
bCloseDialog = false; {
CommonGUI.DisplayMessage(Gtk.MessageType.Warning, sMoveMessage);
bCloseDialog = false;
}
} }
} }
catch (Exception e) catch (Exception e)