eric6/Project/ProjectBrowserModel.py

changeset 7533
88261c96484b
parent 7518
6dea4abd3097
child 7780
41420f82c0ac
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
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

eric ide

mercurial