Ignore:
Timestamp:
03/23/12 14:13:17 (12 years ago)
Author:
István Váradi <locvais@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Implemented busy state notification

File:
1 edited

Legend:

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

    r32 r49  
    6868        statusBox.pack_start(self._ratingLabel, False, False, 8)
    6969
     70        self._busyLabel = gtk.Label()
     71        self._busyLabel.set_width_chars(30)
     72        self._busyLabel.set_tooltip_text("The status of the background tasks.")
     73        self._busyLabel.set_alignment(1.0, 0.5)
     74        statusBox.pack_start(self._busyLabel, True, True, 8)
     75       
    7076        self._updateFlightStatus()
    7177
     
    7581        self._connected = connected
    7682        self._connStateArea.queue_draw()
     83
     84    def updateBusyState(self, message):
     85        """Update the busy state."""
     86        self._busyLabel.set_text("" if message is None else message)
    7787   
    7888    def _drawConnState(self, connStateArea, eventOrContext):
Note: See TracChangeset for help on using the changeset viewer.