Browse Source

Updating image references

pull/123/merge
chriskiehl 9 years ago
parent
commit
a56ebb5188
3 changed files with 6 additions and 6 deletions
  1. 2
      gooey/gui/windows/base_window.py
  2. 2
      gooey/gui/windows/footer.py
  3. 8
      gooey/gui/windows/header.py

2
gooey/gui/windows/base_window.py

@ -47,7 +47,7 @@ class BaseWindow(wx.Frame):
self.SetTitle(self.build_spec['program_name'])
self.SetSize(self.build_spec['default_size'])
# self.SetMinSize((400, 300))
self.icon = wx.Icon(image_repository.icon, wx.BITMAP_TYPE_ICO)
self.icon = wx.Icon(image_repository.program_icon, wx.BITMAP_TYPE_ICO)
self.SetIcon(self.icon)
def _init_components(self):

2
gooey/gui/windows/footer.py

@ -50,7 +50,7 @@ class AbstractFooter(wx.Panel):
self.restart_button = self.button(i18n._('restart'), wx.ID_OK, event_id=int(events.WINDOW_RESTART))
self.edit_button = self.button(i18n._('edit'), wx.ID_OK, event_id=int(events.WINDOW_EDIT))
self.running_animation = wx.animate.GIFAnimationCtrl(self, -1, image_repository.loader)
self.running_animation = wx.animate.GIFAnimationCtrl(self, -1, image_repository.loading_icon)
self.buttons = [self.cancel_button, self.start_button, self.stop_button, self.close_button, self.restart_button, self.edit_button]

8
gooey/gui/windows/header.py

@ -50,10 +50,10 @@ class FrameHeader(wx.Panel):
self._subheader = wx.StaticText(self, label=subheading)
self._settings_img = self._load_image(image_repository.settings2, height=79)
self._running_img = self._load_image(image_repository.computer3, 79)
self._check_mark = self._load_image(image_repository.alessandro_rei_checkmark, height=75)
self._error_symbol = self._load_image(image_repository.error, height=75)
self._settings_img = self._load_image(image_repository.config_icon, height=79)
self._running_img = self._load_image(image_repository.running_icon, 79)
self._check_mark = self._load_image(image_repository.success_icon, height=75)
self._error_symbol = self._load_image(image_repository.error_icon, height=75)
def _do_layout(self):

Loading…
Cancel
Save