- Fixed an issue in the right-click context menu.
.................................................
This commit is contained in:
parent
abd45aadc8
commit
96134c63d8
@ -559,7 +559,6 @@ namespace Novell.CASA.GUI
|
||||
}
|
||||
else
|
||||
{
|
||||
//mmiNew.Sensitive = true;
|
||||
mmiNewKey.Sensitive = false;
|
||||
}
|
||||
break;
|
||||
@ -586,6 +585,7 @@ namespace Novell.CASA.GUI
|
||||
{
|
||||
//mmiNew.Sensitive = mmiNewKey.Sensitive = true;
|
||||
mmiNew.Sensitive = true;
|
||||
mmiNewKey.Sensitive = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -199,9 +199,9 @@ public class GnomeKeyring : Store
|
||||
menuRightClick.Popup(null, null, null, IntPtr.Zero, 3, Gtk.Global.CurrentEventTime);
|
||||
|
||||
if( 0 != tvSecretIDGnomeKeyring.Selection.CountSelectedRows() )
|
||||
cmiLink.Sensitive = cmiCopy.Sensitive = false;
|
||||
cmiNewKey.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = false;
|
||||
else
|
||||
cmiNewSecret.Sensitive = cmiNewKey.Sensitive = cmiView.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = cmiDelete.Sensitive = false;
|
||||
cmiNewKey.Sensitive = cmiView.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = cmiDelete.Sensitive = false;
|
||||
}
|
||||
catch(Exception exp)
|
||||
{
|
||||
@ -642,6 +642,7 @@ public class GnomeKeyring : Store
|
||||
tvKeyValue.AppendColumn("Linked",new CellRendererText(),"text",4);
|
||||
tvKeyValue.Model = tsKeyValue;
|
||||
tsKeyValue.Clear();
|
||||
tsKeyValue.AppendValues("GKPassword", "novell", "********", true, "No");
|
||||
entrySecretID.HasFocus = true;
|
||||
entrySecretID.Text = "";
|
||||
|
||||
|
@ -195,7 +195,7 @@ public class KdeWallet : Store
|
||||
if( 0 != tvSecretIDKdeWallet.Selection.CountSelectedRows() )
|
||||
cmiLink.Sensitive = cmiCopy.Sensitive = false;
|
||||
else
|
||||
cmiNewSecret.Sensitive = cmiNewKey.Sensitive = cmiView.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = cmiDelete.Sensitive = false;
|
||||
cmiNewKey.Sensitive = cmiView.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = cmiDelete.Sensitive = false;
|
||||
}
|
||||
catch(Exception exp)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user