- 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
|
else
|
||||||
{
|
{
|
||||||
//mmiNew.Sensitive = true;
|
|
||||||
mmiNewKey.Sensitive = false;
|
mmiNewKey.Sensitive = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -586,6 +585,7 @@ namespace Novell.CASA.GUI
|
|||||||
{
|
{
|
||||||
//mmiNew.Sensitive = mmiNewKey.Sensitive = true;
|
//mmiNew.Sensitive = mmiNewKey.Sensitive = true;
|
||||||
mmiNew.Sensitive = true;
|
mmiNew.Sensitive = true;
|
||||||
|
mmiNewKey.Sensitive = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -199,9 +199,9 @@ public class GnomeKeyring : Store
|
|||||||
menuRightClick.Popup(null, null, null, IntPtr.Zero, 3, Gtk.Global.CurrentEventTime);
|
menuRightClick.Popup(null, null, null, IntPtr.Zero, 3, Gtk.Global.CurrentEventTime);
|
||||||
|
|
||||||
if( 0 != tvSecretIDGnomeKeyring.Selection.CountSelectedRows() )
|
if( 0 != tvSecretIDGnomeKeyring.Selection.CountSelectedRows() )
|
||||||
cmiLink.Sensitive = cmiCopy.Sensitive = false;
|
cmiNewKey.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = false;
|
||||||
else
|
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)
|
catch(Exception exp)
|
||||||
{
|
{
|
||||||
@ -642,6 +642,7 @@ public class GnomeKeyring : Store
|
|||||||
tvKeyValue.AppendColumn("Linked",new CellRendererText(),"text",4);
|
tvKeyValue.AppendColumn("Linked",new CellRendererText(),"text",4);
|
||||||
tvKeyValue.Model = tsKeyValue;
|
tvKeyValue.Model = tsKeyValue;
|
||||||
tsKeyValue.Clear();
|
tsKeyValue.Clear();
|
||||||
|
tsKeyValue.AppendValues("GKPassword", "novell", "********", true, "No");
|
||||||
entrySecretID.HasFocus = true;
|
entrySecretID.HasFocus = true;
|
||||||
entrySecretID.Text = "";
|
entrySecretID.Text = "";
|
||||||
|
|
||||||
|
@ -195,7 +195,7 @@ public class KdeWallet : Store
|
|||||||
if( 0 != tvSecretIDKdeWallet.Selection.CountSelectedRows() )
|
if( 0 != tvSecretIDKdeWallet.Selection.CountSelectedRows() )
|
||||||
cmiLink.Sensitive = cmiCopy.Sensitive = false;
|
cmiLink.Sensitive = cmiCopy.Sensitive = false;
|
||||||
else
|
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)
|
catch(Exception exp)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user