From ed6265119833825fb42f63eadbb539ecb786bdb6 Mon Sep 17 00:00:00 2001 From: ruppert Date: Fri, 14 Sep 2012 16:46:52 +0000 Subject: [PATCH] ENH: added updater --- invesalius/gui/frame.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+), 0 deletions(-) diff --git a/invesalius/gui/frame.py b/invesalius/gui/frame.py index 96cc8de..810fd25 100755 --- a/invesalius/gui/frame.py +++ b/invesalius/gui/frame.py @@ -43,6 +43,12 @@ import preferences VIEW_TOOLS = [ID_LAYOUT, ID_TEXT] =\ [wx.NewId() for number in range(2)] + + + + + + class Frame(wx.Frame): """ Main frame of the whole software. @@ -82,6 +88,8 @@ class Frame(wx.Frame): # Initialize bind to pubsub events self.__bind_events() self.__bind_events_wx() + + utils.CheckForUpdate() def __bind_events(self): """ @@ -429,6 +437,12 @@ class Frame(wx.Frame): Publisher.sendMessage('Update scroll') Publisher.sendMessage('Reload actual slice') + + + + + + # ------------------------------------------------------------------ # ------------------------------------------------------------------ # ------------------------------------------------------------------ @@ -1383,3 +1397,13 @@ class LayoutToolBar(wx.ToolBar): Publisher.sendMessage('Update AUI') self.ontool_text = True + + + + + + + + + + -- libgit2 0.21.2