Bug 142939. Keep 'New Key' menu item active.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Thu Jan 19 10:57:34 MST 2006 - jnorman@novell.com | ||||||
|  |  | ||||||
|  | - Bug 142939.  Keep 'New Key' menu item active. | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Wed Jan 18 16:12:34 MST 2006 - jnorman@novell.com | Wed Jan 18 16:12:34 MST 2006 - jnorman@novell.com | ||||||
|  |  | ||||||
|   | |||||||
| @@ -120,6 +120,8 @@ namespace Novell.CASA.GUI | |||||||
| 		public static CasaTray mCasaTray = null; | 		public static CasaTray mCasaTray = null; | ||||||
| 		public static bool m_bShowDebug = false; | 		public static bool m_bShowDebug = false; | ||||||
| 		public static bool m_bNotifyUser = true; | 		public static bool m_bNotifyUser = true; | ||||||
|  | 		public static bool m_bGuiLocked = false; | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| 		///####################################################################### | 		///####################################################################### | ||||||
| @@ -568,6 +570,7 @@ namespace Novell.CASA.GUI | |||||||
| 			} | 			} | ||||||
| 			else | 			else | ||||||
| 			{ | 			{ | ||||||
|  | 				if (m_bGuiLocked) | ||||||
| 					UnlockGUI(); | 					UnlockGUI(); | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| @@ -842,6 +845,7 @@ namespace Novell.CASA.GUI | |||||||
| 			mmiDebug.Sensitive = false; | 			mmiDebug.Sensitive = false; | ||||||
| 			mmiOptions.Sensitive = false; | 			mmiOptions.Sensitive = false; | ||||||
| 			mmiEdit.Sensitive = false; | 			mmiEdit.Sensitive = false; | ||||||
|  | 			m_bGuiLocked = true; | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		internal void UnlockGUI() | 		internal void UnlockGUI() | ||||||
| @@ -857,6 +861,8 @@ namespace Novell.CASA.GUI | |||||||
| 			mmiOptions.Sensitive = true; | 			mmiOptions.Sensitive = true; | ||||||
| 			mmiEdit.Sensitive = true; | 			mmiEdit.Sensitive = true; | ||||||
|  |  | ||||||
|  | 			m_bGuiLocked = false; | ||||||
|  |  | ||||||
| 			//refresh secrets | 			//refresh secrets | ||||||
| 			RefreshStores(); | 			RefreshStores(); | ||||||
| 			 | 			 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user