4772: Performance improvement for context menu
svn: r17213
This commit is contained in:
@@ -95,6 +95,11 @@ def GET_AVAILABLE_GRAMPLETS(name):
|
||||
}
|
||||
return None
|
||||
|
||||
def GET_GRAMPLET_LIST(nav_type, skip):
|
||||
return [(gplug.name, gplug.id) for gplug in PLUGMAN.get_reg_gramplets()
|
||||
if gplug.navtypes == [] or nav_type in gplug.navtypes
|
||||
and gplug.name not in skip]
|
||||
|
||||
def parse_tag_attr(text):
|
||||
"""
|
||||
Function used to parse markup.
|
||||
|
||||
Reference in New Issue
Block a user