From 92b1016bdf50bf8c712adfa253d064172c24a3c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Thu, 18 Feb 2016 08:29:56 -0600 Subject: [PATCH] Disabled items in the menu bar as there are no bound functions yet --- src/wxUI/mainWindow.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wxUI/mainWindow.py b/src/wxUI/mainWindow.py index f9e22a7..6ab40a3 100644 --- a/src/wxUI/mainWindow.py +++ b/src/wxUI/mainWindow.py @@ -7,11 +7,15 @@ class mainWindow(wx.Frame): mb = wx.MenuBar() buffer = wx.Menu() self.update = buffer.Append(wx.NewId(), _(u"Update current buffer")) + self.update.Enable(False) self.load_previous_items = buffer.Append(wx.NewId(), _(u"Load previous items")) + self.load_previous_items.Enable(False) mb.Append(buffer, _(u"Buffer")) help_ = wx.Menu() self.about = help_.Append(wx.NewId(), _(u"About {0}").format(application.name,)) + self.about.Enable(False) self.check_for_updates = help_.Append(wx.NewId(), _(u"Check for updates")) + self.check_for_updates.Enable(False) mb.Append(help_, _(u"Help")) self.SetMenuBar(mb)