Fix bug listing gramplets already in gramplet bar

svn: r23039
This commit is contained in:
Nick Hall 2013-09-05 22:46:18 +00:00
parent 2f7994e68a
commit 9f7ee8f37e

View File

@ -99,7 +99,7 @@ def GET_AVAILABLE_GRAMPLETS(name):
def GET_GRAMPLET_LIST(nav_type, skip):
return [(gplug.gramplet_title, gplug.id)
for gplug in PLUGMAN.get_reg_gramplets()
if gplug.navtypes == [] or nav_type in gplug.navtypes
if (gplug.navtypes == [] or nav_type in gplug.navtypes)
and gplug.name not in skip]
def parse_tag_attr(text):