diff --git a/CASA/gui/CASAManager.csproj.user b/CASA/gui/CASAManager.csproj.user
index e68482e9..46ad2714 100644
--- a/CASA/gui/CASAManager.csproj.user
+++ b/CASA/gui/CASAManager.csproj.user
@@ -3,7 +3,8 @@
7.10.3077
Debug
AnyCPU
- D:\casa\extern\w32\gtk-sharp-2.0\;C:\GtkRun\2.8\lib\gtk-sharp\
+
+
diff --git a/CASA/gui/CasaMain.cs b/CASA/gui/CasaMain.cs
index 009231e6..f87a30d3 100644
--- a/CASA/gui/CasaMain.cs
+++ b/CASA/gui/CasaMain.cs
@@ -1841,18 +1841,21 @@ namespace Novell.CASA.GUI
string sNewDir = entryStorageDirectory.Text;
string sOldDir = Common.GetUserPersistentDir(config);
try
- {
- string sMoveMessage = MoveMiCASAFiles(sOldDir, sNewDir);
- if (sMoveMessage.Equals("Success"))
- {
- // save off selected directory
- Common.SetUserPersistentDir(config, sNewDir);
- CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Files moved from\r\n" + sOldDir + "\r\nto\r\n" + sNewDir);
- }
- else
- {
- CommonGUI.DisplayMessage(Gtk.MessageType.Warning, sMoveMessage);
- bCloseDialog = false;
+ {
+ if (!sNewDir.Equals(sOldDir))
+ {
+ string sMoveMessage = MoveMiCASAFiles(sOldDir, sNewDir);
+ if (sMoveMessage.Equals("Success"))
+ {
+ // save off selected directory
+ Common.SetUserPersistentDir(config, sNewDir);
+ CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Files moved from\r\n" + sOldDir + "\r\nto\r\n" + sNewDir);
+ }
+ else
+ {
+ CommonGUI.DisplayMessage(Gtk.MessageType.Warning, sMoveMessage);
+ bCloseDialog = false;
+ }
}
}
catch (Exception e)