- Bug 146015: A CASAkeyring is created to add secrets to the
Gnome Keyring through CASAManger - FIXED.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user