示例#1
0
 def addBookmark(self):
     try:
         currentPath = getMainWindow().FileManager.getCurrentDirectoryPath()
         BookmarksOfDirectories.insert(fu.splitPath(currentPath)[-1], currentPath)
         getMainWindow().FileManager.bookmarksMenu.makeRefresh()
         self.makeRefresh()
     except:
         ReportBug.ReportBug()
示例#2
0
 def addBookmark(self):
     try:
         currentPath = getMainWindow().FileManager.getCurrentDirectoryPath()
         BookmarksOfDirectories.insert(
             fu.splitPath(currentPath)[-1], currentPath)
         getMainWindow().FileManager.bookmarksMenu.makeRefresh()
         self.makeRefresh()
     except:
         ReportBug.ReportBug()