399 writer = XbelWriter() |
399 writer = XbelWriter() |
400 if not writer.write(fileName, self.__bookmarkRootNode): |
400 if not writer.write(fileName, self.__bookmarkRootNode): |
401 E5MessageBox.critical(None, |
401 E5MessageBox.critical(None, |
402 self.trUtf8("Exporting Bookmarks"), |
402 self.trUtf8("Exporting Bookmarks"), |
403 self.trUtf8("""Error exporting bookmarks to <b>{0}</b>.""")\ |
403 self.trUtf8("""Error exporting bookmarks to <b>{0}</b>.""")\ |
404 .format(bookmarkFile)) |
404 .format(fileName)) |
405 |
405 |
406 def __convertFromOldBookmarks(self): |
406 def __convertFromOldBookmarks(self): |
407 """ |
407 """ |
408 Private method to convert the old bookmarks into the new ones. |
408 Private method to convert the old bookmarks into the new ones. |
409 """ |
409 """ |