Bug 133479. Clear native info after destroying MiCasa secrets or refresh.

This commit is contained in:
Jim Norman 2005-11-16 20:46:53 +00:00
parent 34108e1cfc
commit 0357895e10
4 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,10 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 15 14:54:19 MST 2005 - jim@novell.com Wed Nov 16 13:42:19 MST 2005 - jnorman@novell.com
- Bug 133479. Clear Native information when destroying secrets or refreshing
-------------------------------------------------------------------
Tue Nov 15 14:54:19 MST 2005 - jnorman@novell.com
- Added gtk2-devel dependency to CASA-gui rpm - Added gtk2-devel dependency to CASA-gui rpm

View File

@ -120,6 +120,7 @@ public class GnomeKeyring : Store
try try
{ {
tsSecretIDGnomeKeyring.Clear(); tsSecretIDGnomeKeyring.Clear();
tsNativeInfoGnomeKeyring.Clear();
StoreDataInterface.AggregateStore(Common.STORE_GNOMEKEYRING); StoreDataInterface.AggregateStore(Common.STORE_GNOMEKEYRING);
StoreDataInterface.ReadStore(Common.STORE_GNOMEKEYRING,ref tsSecretIDGnomeKeyring); StoreDataInterface.ReadStore(Common.STORE_GNOMEKEYRING,ref tsSecretIDGnomeKeyring);
} }

View File

@ -118,6 +118,7 @@ public class KdeWallet : Store
try try
{ {
tsSecretIDKdeWallet.Clear(); tsSecretIDKdeWallet.Clear();
tsNativeInfoKdeWallet.Clear();
StoreDataInterface.AggregateStore(Common.STORE_KDEWALLET); StoreDataInterface.AggregateStore(Common.STORE_KDEWALLET);
StoreDataInterface.ReadStore(Common.STORE_KDEWALLET,ref tsSecretIDKdeWallet); StoreDataInterface.ReadStore(Common.STORE_KDEWALLET,ref tsSecretIDKdeWallet);
} }

View File

@ -104,7 +104,8 @@ public class MiCasa : Store
tvSecretIDMiCasa = (Gtk.TreeView)CasaMain.gxml.GetWidget("tvSecretIDMiCasa"); tvSecretIDMiCasa = (Gtk.TreeView)CasaMain.gxml.GetWidget("tvSecretIDMiCasa");
tsSecretIDMiCasa = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[])); tsSecretIDMiCasa = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[]));
tvSecretIDMiCasa.AppendColumn("Secret-ID",new CellRendererText(),"text",0); tvSecretIDMiCasa.AppendColumn("Secret-ID",new CellRendererText(),"text",0);
tvSecretIDMiCasa.Model = tsSecretIDMiCasa; tvSecretIDMiCasa.Model = tsSecretIDMiCasa;
tsSecretIDMiCasa.SetSortColumnId(0, Gtk.SortType.Ascending);
tvSecretIDMiCasa.RowActivated += new RowActivatedHandler(OntvSecretIDMiCasaRowActivated); tvSecretIDMiCasa.RowActivated += new RowActivatedHandler(OntvSecretIDMiCasaRowActivated);
tvSecretIDMiCasa.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClicked); tvSecretIDMiCasa.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClicked);
tvSecretIDMiCasa.CursorChanged += new EventHandler(OnCursorChanged); tvSecretIDMiCasa.CursorChanged += new EventHandler(OnCursorChanged);
@ -140,6 +141,7 @@ public class MiCasa : Store
try try
{ {
tsSecretIDMiCasa.Clear(); tsSecretIDMiCasa.Clear();
tsNativeInfoMiCasa.Clear();
StoreDataInterface.AggregateStore(Common.STORE_MICASA); StoreDataInterface.AggregateStore(Common.STORE_MICASA);
StoreDataInterface.ReadStore(Common.STORE_MICASA,ref tsSecretIDMiCasa); StoreDataInterface.ReadStore(Common.STORE_MICASA,ref tsSecretIDMiCasa);
} }