991 dn = os.path.basename(self._dirName) |
991 dn = os.path.basename(self._dirName) |
992 |
992 |
993 BrowserItem.__init__(self, parent, dn) |
993 BrowserItem.__init__(self, parent, dn) |
994 |
994 |
995 self.type_ = BrowserItemDirectory |
995 self.type_ = BrowserItemDirectory |
996 if os.path.lexists(self._dirName) and os.path.islink(self._dirName): |
996 if not Utilities.isDrive(self._dirName) and \ |
|
997 os.path.lexists(self._dirName) and os.path.islink(self._dirName): |
997 self.symlink = True |
998 self.symlink = True |
998 self.icon = UI.PixmapCache.getSymlinkIcon("dirClosed.png") |
999 self.icon = UI.PixmapCache.getSymlinkIcon("dirClosed.png") |
999 else: |
1000 else: |
1000 self.icon = UI.PixmapCache.getIcon("dirClosed.png") |
1001 self.icon = UI.PixmapCache.getIcon("dirClosed.png") |
1001 self._populated = False |
1002 self._populated = False |