'Adds a bookmark to the saved settings'

def add_bookmark(self, path, name):

    bookmark = {u'path': path, u'name': name}
    if (bookmark not in self.bookmarks):
        self.bookmarks.append(bookmark)
