Add support <entry type="pair">..<entry/> for format xml_gconf

develop
Самоукин Алексей 15 years ago
parent ee545077b9
commit 034652e1b5

@ -6347,7 +6347,7 @@ class xml_gconf(xml_xfce):
# Комментарий
_comment = ("<!--","-->")
# поддерживаемые аттрибуты тега entry. Пример <entry type="int"/>
supportEntryTypes = ("int", "bool", "float", "string", "list")
supportEntryTypes = ("int", "bool", "float", "string", "list", "pair")
def __init__(self, text):
self.text = text
@ -6464,7 +6464,7 @@ Valid values attribute 'action': \
oldNodes = xpath.Evaluate(findPath, workNode)
# Новая нода список
flagArray = False
if nType == "list":
if nType == "list" or nType == "pair":
flagArray = True
flagDrop = False
flagJoin = True

Loading…
Cancel
Save