Changeset 7e44299 in sasview for src/sans/guiframe
- Timestamp:
- Apr 5, 2014 10:37:54 AM (11 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 164d64f
- Parents:
- 1d4e2e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/guiframe/gui_statusbar.py
r1d4e2e7 r7e44299 135 135 self.status_color = wx.StaticText(self, id=wx.NewId(), label=" ") 136 136 self.status_color.SetBackgroundColour(GREEN) 137 self.status_color.SetForegroundColour(GREEN) 137 138 138 139 # Create the button used to show the console dialog … … 213 214 self.list_msg.append(text) 214 215 self.status_color.SetBackgroundColour(GREEN) 216 self.status_color.SetForegroundColour(GREEN) 215 217 216 218 if self.frame is not None : … … 296 298 if msg == "warning": 297 299 self.status_color.SetBackgroundColour(YELLOW) 300 self.status_color.SetForegroundColour(YELLOW) 298 301 elif msg == "error": 299 302 self.status_color.SetBackgroundColour(RED) 303 self.status_color.SetForegroundColour(RED) 300 304 else: 301 305 self.status_color.SetBackgroundColour(GREEN) 306 self.status_color.SetForegroundColour(GREEN) 302 307 303 308 def set_dialog(self, event):
Note: See TracChangeset
for help on using the changeset viewer.