Commit ed6265119833825fb42f63eadbb539ecb786bdb6

Authored by ruppert
1 parent 0e413393

ENH: added updater

Showing 1 changed file with 24 additions and 0 deletions   Show diff stats
invesalius/gui/frame.py
... ... @@ -43,6 +43,12 @@ import preferences
43 43 VIEW_TOOLS = [ID_LAYOUT, ID_TEXT] =\
44 44 [wx.NewId() for number in range(2)]
45 45  
  46 +
  47 +
  48 +
  49 +
  50 +
  51 +
46 52 class Frame(wx.Frame):
47 53 """
48 54 Main frame of the whole software.
... ... @@ -82,6 +88,8 @@ class Frame(wx.Frame):
82 88 # Initialize bind to pubsub events
83 89 self.__bind_events()
84 90 self.__bind_events_wx()
  91 +
  92 + utils.CheckForUpdate()
85 93  
86 94 def __bind_events(self):
87 95 """
... ... @@ -429,6 +437,12 @@ class Frame(wx.Frame):
429 437 Publisher.sendMessage('Update scroll')
430 438 Publisher.sendMessage('Reload actual slice')
431 439  
  440 +
  441 +
  442 +
  443 +
  444 +
  445 +
432 446 # ------------------------------------------------------------------
433 447 # ------------------------------------------------------------------
434 448 # ------------------------------------------------------------------
... ... @@ -1383,3 +1397,13 @@ class LayoutToolBar(wx.ToolBar):
1383 1397 Publisher.sendMessage('Update AUI')
1384 1398 self.ontool_text = True
1385 1399  
  1400 +
  1401 +
  1402 +
  1403 +
  1404 +
  1405 +
  1406 +
  1407 +
  1408 +
  1409 +
... ...