Changeset 30fbe6d in sasview


Ignore:
Timestamp:
Apr 5, 2014 9:32:43 AM (5 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
1d4e2e7
Parents:
7d6f1bd
Message:

tweak button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/guiframe/gui_statusbar.py

    rf330d67 r30fbe6d  
    136136                                 size=(width, height), style=wx.NO_BORDER) 
    137137        self.bitmap_bt_warning.SetBackgroundColour(GREEN) 
     138        self.bitmap_bt_warning.SetForegroundColour(GREEN) 
    138139 
    139140        # Create the button used to show the console dialog 
     
    214215        self.list_msg.append(text) 
    215216        self.bitmap_bt_warning.SetBackgroundColour(GREEN) 
     217        self.bitmap_bt_warning.SetForegroundColour(GREEN) 
    216218 
    217219        if self.frame is not None : 
     
    296298        msg = event.info.lower() 
    297299        if msg == "warning": 
    298             self.bitmap_bt_warning.SetBackgroundColour(YELLOw) 
     300            self.bitmap_bt_warning.SetBackgroundColour(YELLOW) 
     301            self.bitmap_bt_warning.SetForegroundColour(YELLOW) 
    299302        elif msg == "error": 
    300303            self.bitmap_bt_warning.SetBackgroundColour(RED) 
     304            self.bitmap_bt_warning.SetForegroundColour(RED) 
    301305        else: 
    302306            self.bitmap_bt_warning.SetBackgroundColour(GREEN) 
     307            self.bitmap_bt_warning.SetForegroundColour(GREEN) 
    303308     
    304309    def set_dialog(self, event): 
Note: See TracChangeset for help on using the changeset viewer.