equal
deleted
inserted
replaced
436 self.TreeImageDict[itemtype]=self.TreeImageList.Add(wx.Bitmap(os.path.join(CWD, 'images', '%s.png'%imgname))) |
436 self.TreeImageDict[itemtype]=self.TreeImageList.Add(wx.Bitmap(os.path.join(CWD, 'images', '%s.png'%imgname))) |
437 |
437 |
438 # Add beremiz's icon in top left corner of the frame |
438 # Add beremiz's icon in top left corner of the frame |
439 self.SetIcon(wx.Icon(Bpath( "images", "brz.ico"), wx.BITMAP_TYPE_ICO)) |
439 self.SetIcon(wx.Icon(Bpath( "images", "brz.ico"), wx.BITMAP_TYPE_ICO)) |
440 |
440 |
441 if projectOpen is None and self.Config.HasEntry("currenteditedproject"): |
441 if ctr is None and projectOpen is None and self.Config.HasEntry("currenteditedproject"): |
442 projectOpen = str(self.Config.Read("currenteditedproject")) |
442 projectOpen = str(self.Config.Read("currenteditedproject")) |
443 if projectOpen == "": |
443 if projectOpen == "": |
444 projectOpen = None |
444 projectOpen = None |
445 |
445 |
446 if projectOpen is not None and os.path.isdir(projectOpen): |
446 if projectOpen is not None and os.path.isdir(projectOpen): |