Ignore:
Timestamp:
04/04/15 07:50:45 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The border of the fault explanation widget is highlighted if there are any unexplained faults (re #257)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/gui.py

    r609 r620  
    170170
    171171        window.show_all()
     172
    172173        self._wizard.grabDefault()
    173174        self._weightHelp.reset()
     
    413414        user."""
    414415        return self._flightInfo.faultsFullyExplained
     416
     417    if pygobject:
     418        @property
     419        def backgroundColour(self):
     420            """Get the background colour of the main window."""
     421            return self._mainWindow.get_style_context().\
     422              get_background_color(gtk.StateFlags.NORMAL)
    415423
    416424    def run(self):
Note: See TracChangeset for help on using the changeset viewer.