def create_bookmark_action(parent, url, title, icon=None, shortcut=None):
    """Create bookmark action"""
    
    @Slot()
    def open_url():
        return programs.start_file(url)
    
    return create_action( parent, title, shortcut=shortcut, icon=icon,
                          triggered=open_url)
Create bookmark action