- Bug 146015: A CASAkeyring is created to add secrets to the

Gnome Keyring through CASAManger - FIXED.
This commit is contained in:
smanojna
2006-02-16 12:14:15 +00:00
parent 450fbaaa5c
commit a61aa03e58
4 changed files with 10 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ namespace Novell.CASA.DataEngines
{
keyElem = doc.CreateElement(ConstStrings.CCF_KEY);
keyIdAttr = doc.CreateAttribute(ConstStrings.CCF_ID);
keyIdAttr.Value = "GKPassword";
keyIdAttr.Value = "password";
keyElem.SetAttributeNode(keyIdAttr);
valueElem = doc.CreateElement(ConstStrings.CCF_VALUE);
@@ -219,7 +219,7 @@ namespace Novell.CASA.DataEngines
//Get the Key
XmlAttributeCollection at = tuple.Attributes;
String keyname = (at["ID"]).InnerText;
if (keyname.Equals("GKPassword"))
if (keyname.Equals("password"))
{
password = tuple.ChildNodes[0].InnerText;

View File

@@ -636,7 +636,7 @@ CreateItemInKeyring(char *keyring, int32_t itemType, char *display_name, char *s
g_array_append_val (attributes, attribute);
}
gnome_keyring_item_create(keyring,itemType,display_name,attributes,secret,FALSE,CreateItemCb,&cbData,NULL);
gnome_keyring_item_create(NULL,itemType,display_name,attributes,secret,FALSE,CreateItemCb,&cbData,NULL);
gnome_keyring_attribute_list_free (attributes);
g_main_loop_run (loop);
return cbData.result;