def add_toolbar_item_for_plugins(toolbar_action):
 global TOOLBAR_ITEMS_PLUGINS
 TOOLBAR_ITEMS_PLUGINS.append(toolbar_action)

def add_toolbar_item_for_plugins ( toolbar_action ) : global TOOLBAR_ITEMS_PLUGINS TOOLBAR_ITEMS_PLUGINS . append ( toolbar_action )
add a toolbar action set from some plugin .