actually skip entries marked as hidden

Summary: skip completely config entries with hidden="true" option

Reviewers: davidedmundson, #plasma

Reviewed By: davidedmundson, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2774
wilder-5.14
Marco Martin 10 years ago
parent 6bc050c9a9
commit 922d5acbeb
  1. 5
      doc/config_update_tool/extract_config.py

@ -39,10 +39,9 @@ for plasmoid in os.listdir(root):
type = entry.getAttribute("type")
default = ""
description = ""
hidden = True
if entry.hasAttribute("hidden") and entry.getAttribute("hidden") == True:
hidden = False
if entry.hasAttribute("hidden") and entry.getAttribute("hidden") == "true":
continue
defaultTags = entry.getElementsByTagName("default")
if (defaultTags.length > 0 and defaultTags[0].childNodes.length > 0):

Loading…
Cancel
Save