This commit is contained in:
		| @@ -295,7 +295,6 @@ namespace Novell.CASA.DataEngines | |||||||
|  |  | ||||||
| 	public static Boolean IsStoreAvailable() | 	public static Boolean IsStoreAvailable() | ||||||
|         { |         { | ||||||
|             Console.WriteLine("Checking GKEngine"); |  | ||||||
|               try |               try | ||||||
|               { |               { | ||||||
| 		        System.Runtime.InteropServices.Marshal.PrelinkAll(typeof(GnomeKeyring)); | 		        System.Runtime.InteropServices.Marshal.PrelinkAll(typeof(GnomeKeyring)); | ||||||
|   | |||||||
| @@ -79,8 +79,10 @@ namespace Novell.CASA.GUI | |||||||
| 			catch (Exception e) | 			catch (Exception e) | ||||||
| 			{ | 			{ | ||||||
| 				//MessageBox.Show("File 'notify.ico' cannot be found", "Error"); | 				//MessageBox.Show("File 'notify.ico' cannot be found", "Error"); | ||||||
| 				Console.WriteLine(e.ToString()); | 				//Console.WriteLine(e.ToString()); | ||||||
| 				Console.WriteLine("File 'notify.ico' cannot be found"); | 				//Console.WriteLine("File 'notify.ico' cannot be found");				 | ||||||
|  | 				Logger.DbgLog("GUI:CasaTray.Setup() EXCEPTION: \n"e.ToString()); | ||||||
|  | 				Logger.DbgLog("GUI:CasaTray.Setup(): File 'notify.ico' cannot be found"); | ||||||
| 				return; | 				return; | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| @@ -101,7 +103,8 @@ namespace Novell.CASA.GUI | |||||||
|  |  | ||||||
| 			catch (Exception e) | 			catch (Exception e) | ||||||
| 			{			 | 			{			 | ||||||
| 				Console.WriteLine("File 'CASAIcons.ico' cannot be found"); | 				//Console.WriteLine("File 'CASAIcons.ico' cannot be found"); | ||||||
|  | 				Logger.DbgLog("GUI:CasaTray.Setup(): File 'CASAIcons.ico' cannot be found"); | ||||||
| 				return; | 				return; | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| @@ -166,13 +169,12 @@ namespace Novell.CASA.GUI | |||||||
| 				menuLockMiCasa.Image = appimg; // sets the menu item's image		 | 				menuLockMiCasa.Image = appimg; // sets the menu item's image		 | ||||||
| 				menuLockMiCasa.Activated +=new EventHandler(menuLockMiCasa_Activated);		 | 				menuLockMiCasa.Activated +=new EventHandler(menuLockMiCasa_Activated);		 | ||||||
|  |  | ||||||
| 				ImageMenuItem menuUnLockMiCasa = new ImageMenuItem ("Unlock Secrets...");		 | 				ImageMenuItem menuUnLockMiCasa = new ImageMenuItem ("Unlock Secrets");		 | ||||||
| 				appimg = new Image(Stock.Open, IconSize.Menu); | 				appimg = new Image(Stock.Open, IconSize.Menu); | ||||||
| 				menuUnLockMiCasa.Image = appimg; // sets the menu item's image | 				menuUnLockMiCasa.Image = appimg; // sets the menu item's image | ||||||
| 				menuUnLockMiCasa.Activated +=new EventHandler(menuLockMiCasa_Activated); | 				menuUnLockMiCasa.Activated +=new EventHandler(menuLockMiCasa_Activated); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| 				popupMenu.Add(menuLockMiCasa); | 				popupMenu.Add(menuLockMiCasa); | ||||||
| 				popupMenu.Add(menuUnLockMiCasa); | 				popupMenu.Add(menuUnLockMiCasa); | ||||||
| 	 | 	 | ||||||
| @@ -195,7 +197,7 @@ namespace Novell.CASA.GUI | |||||||
| 					menuDestroyMiCasa.Sensitive = true; | 					menuDestroyMiCasa.Sensitive = true; | ||||||
| 				} | 				} | ||||||
|  |  | ||||||
| 				ImageMenuItem menuOptionsMiCasa = new ImageMenuItem ("Options ...."); | 				ImageMenuItem menuOptionsMiCasa = new ImageMenuItem ("Preferences"); | ||||||
| 				menuOptionsMiCasa.Sensitive = false; | 				menuOptionsMiCasa.Sensitive = false; | ||||||
| 				popupMenu.Add(menuOptionsMiCasa); | 				popupMenu.Add(menuOptionsMiCasa); | ||||||
| 		 | 		 | ||||||
|   | |||||||
| @@ -260,7 +260,8 @@ namespace Novell.CASA.GUI | |||||||
| 				{ | 				{ | ||||||
| 					sk1.Close(); | 					sk1.Close(); | ||||||
| 					//ShowErrorMessage(e, "Reading registry " + KeyName.ToUpper()); | 					//ShowErrorMessage(e, "Reading registry " + KeyName.ToUpper()); | ||||||
| 					Console.Write(e.ToString()); | 					//Console.Write(e.ToString()); | ||||||
|  | 					Logger.DbgLog("GUI:CommonGUI.WriteRegKey EXCEPTION: \n"e.ToString()); | ||||||
| 					//return null; | 					//return null; | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
|   | |||||||
| @@ -800,7 +800,7 @@ namespace Novell.CASA.GUI { | |||||||
| 					XmlNode lastChild = SecretNode.LastChild; //Get The newly added secret | 					XmlNode lastChild = SecretNode.LastChild; //Get The newly added secret | ||||||
| 					if(lastChild!=null) | 					if(lastChild!=null) | ||||||
| 					{												 | 					{												 | ||||||
| 						Console.WriteLine("EXECUTING OPERATION_ADD_SECRET:Adding"+ccfSecretPath);//FIXME:Remove this line | 						//Console.WriteLine("EXECUTING OPERATION_ADD_SECRET:Adding"+ccfSecretPath);//FIXME:Remove this line | ||||||
| 						ad.SetSecret(lastChild,operation,storeIDentifier);	//and set it					 | 						ad.SetSecret(lastChild,operation,storeIDentifier);	//and set it					 | ||||||
| 					} | 					} | ||||||
| 				}//STORE_KDEWALLET | 				}//STORE_KDEWALLET | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user