equal
deleted
inserted
replaced
43 from editors.EditorPanel import EditorPanel |
43 from editors.EditorPanel import EditorPanel |
44 from editors.Viewer import Viewer |
44 from editors.Viewer import Viewer |
45 from editors.TextViewer import TextViewer |
45 from editors.TextViewer import TextViewer |
46 from editors.ResourceEditor import ConfigurationEditor, ResourceEditor |
46 from editors.ResourceEditor import ConfigurationEditor, ResourceEditor |
47 from editors.DataTypeEditor import DataTypeEditor |
47 from editors.DataTypeEditor import DataTypeEditor |
48 from util.paths import Bpath |
48 from util.paths import Bpath, ThirdPartyPath |
49 from util.MiniTextControler import MiniTextControler |
49 from util.MiniTextControler import MiniTextControler |
50 from util.BitmapLibrary import GetBitmap |
50 from util.BitmapLibrary import GetBitmap |
51 from controls.LogViewer import LogViewer |
51 from controls.LogViewer import LogViewer |
52 from controls.CustomStyledTextCtrl import CustomStyledTextCtrl |
52 from controls.CustomStyledTextCtrl import CustomStyledTextCtrl |
53 from controls import EnhancedStatusBar as esb |
53 from controls import EnhancedStatusBar as esb |
978 |
978 |
979 def OnAboutMenu(self, event): |
979 def OnAboutMenu(self, event): |
980 info = wx.adv.AboutDialogInfo() |
980 info = wx.adv.AboutDialogInfo() |
981 info = version.GetAboutDialogInfo(info) |
981 info = version.GetAboutDialogInfo(info) |
982 info.Name = "Beremiz" |
982 info.Name = "Beremiz" |
|
983 with open(ThirdPartyPath("revisions.txt")) as f: |
|
984 revisions=f.read() |
|
985 info.SetVersion(info.GetVersion(), longVersion=revisions) |
|
986 |
983 info.Description = _("Open Source framework for automation, " |
987 info.Description = _("Open Source framework for automation, " |
984 "implementing IEC 61131 IDE with constantly growing set of extensions " |
988 "implementing IEC 61131 IDE with constantly growing set of extensions " |
985 "and flexible PLC runtime.") |
989 "and flexible PLC runtime.") |
986 |
990 |
987 info.Icon = wx.Icon(Bpath("images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG) |
991 info.Icon = wx.Icon(Bpath("images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG) |