129 self._dirName = os.path.dirname(self._dirName) |
129 self._dirName = os.path.dirname(self._dirName) |
130 |
130 |
131 self.type_ = ProjectBrowserItemSimpleDirectory |
131 self.type_ = ProjectBrowserItemSimpleDirectory |
132 if os.path.lexists(self._dirName) and os.path.islink(self._dirName): |
132 if os.path.lexists(self._dirName) and os.path.islink(self._dirName): |
133 self.symlink = True |
133 self.symlink = True |
134 self.icon = UI.PixmapCache.getSymlinkIcon("dirClosed.png") |
134 self.icon = UI.PixmapCache.getSymlinkIcon("dirClosed") |
135 else: |
135 else: |
136 self.icon = UI.PixmapCache.getIcon("dirClosed.png") |
136 self.icon = UI.PixmapCache.getIcon("dirClosed") |
137 |
137 |
138 def setName(self, dinfo, full=True): |
138 def setName(self, dinfo, full=True): |
139 """ |
139 """ |
140 Public method to set the directory name. |
140 Public method to set the directory name. |
141 |
141 |