Commit 530b2db1bffbd51f9fec7b9e98cc0fe91c1801d7

Authored by Paulo Henrique Junqueira Amorim
1 parent 35db0c4e

FIX: Changed icon extension

Showing 1 changed file with 10 additions and 10 deletions   Show diff stats
invesalius/gui/frame.py
... ... @@ -36,7 +36,7 @@ import session as ses
36 36 import utils
37 37  
38 38 # Layout tools' IDs - this is used only locally, therefore doesn't
39   -# need to be defined in constants.py
  39 +# need to be defined in constants.py
40 40 VIEW_TOOLS = [ID_LAYOUT, ID_TEXT] =\
41 41 [wx.NewId() for number in range(2)]
42 42  
... ... @@ -62,7 +62,7 @@ class Frame(wx.Frame):
62 62 self.SetMenuBar(MenuBar(self))
63 63 self.SetStatusBar(StatusBar(self))
64 64  
65   - # Set TaskBarIcon
  65 + # Set TaskBarIcon
66 66 #TaskBarIcon(self)
67 67  
68 68 # Create aui manager and insert content in it
... ... @@ -76,7 +76,7 @@ class Frame(wx.Frame):
76 76 """
77 77 Bind events related to pubsub.
78 78 """
79   - sub = ps.Publisher().subscribe
  79 + sub = ps.Publisher().subscribe
80 80 sub(self._BeginBusyCursor, 'Begin busy cursor')
81 81 sub(self._ShowContentPanel, 'Cancel DICOM load')
82 82 sub(self._EndBusyCursor, 'End busy cursor')
... ... @@ -122,7 +122,7 @@ class Frame(wx.Frame):
122 122 Centre().CloseButton(False).Floatable(False).
123 123 Hide().Layer(1).MaximizeButton(True).
124 124 Name("Data").Position(1))
125   -
  125 +
126 126 # This is the DICOM import panel. When the two panels above
127 127 # are shown, this should be hiden
128 128 caption = _("Preview medical data to be reconstructed")
... ... @@ -284,7 +284,7 @@ class Frame(wx.Frame):
284 284 the same ID's)
285 285 """
286 286 id = evt.GetId()
287   -
  287 +
288 288 if id == const.ID_DICOM_IMPORT:
289 289 self.ShowImportDicomPanel()
290 290 elif id == const.ID_PROJECT_OPEN:
... ... @@ -536,7 +536,7 @@ class ProgressBar(wx.Gauge):
536 536  
537 537 def SetPercentage(self, value):
538 538 """
539   - Set value [0;100] into gauge, moving "status" percentage.
  539 + Set value [0;100] into gauge, moving "status" percentage.
540 540 """
541 541 self.SetValue(int(value))
542 542 if (value >= 99):
... ... @@ -674,7 +674,7 @@ class ProjectToolBar(wx.ToolBar):
674 674  
675 675 path = os.path.join(d, "file_import_original.png")
676 676 BMP_IMPORT = wx.Bitmap(path, wx.BITMAP_TYPE_PNG)
677   -
  677 +
678 678 path = os.path.join(d, "file_open_original.png")
679 679 BMP_OPEN = wx.Bitmap(path, wx.BITMAP_TYPE_PNG)
680 680  
... ... @@ -692,7 +692,7 @@ class ProjectToolBar(wx.ToolBar):
692 692  
693 693 path = os.path.join(d, "file_import.png")
694 694 BMP_IMPORT = wx.Bitmap(path, wx.BITMAP_TYPE_PNG)
695   -
  695 +
696 696 path = os.path.join(d, "file_open.png")
697 697 BMP_OPEN = wx.Bitmap(path, wx.BITMAP_TYPE_PNG)
698 698  
... ... @@ -821,8 +821,8 @@ class ObjectToolBar(wx.ToolBar):
821 821 path = os.path.join(d, "tool_rotate.gif")
822 822 BMP_ROTATE = wx.Bitmap(path, wx.BITMAP_TYPE_GIF)
823 823  
824   - path = os.path.join(d, "tool_translate.png")
825   - BMP_MOVE =wx.Bitmap(path, wx.BITMAP_TYPE_PNG)
  824 + path = os.path.join(d, "tool_translate.gif")
  825 + BMP_MOVE =wx.Bitmap(path, wx.BITMAP_TYPE_GIF)
826 826  
827 827 path = os.path.join(d, "tool_zoom.png")
828 828 BMP_ZOOM = wx.Bitmap(path, wx.BITMAP_TYPE_PNG)
... ...