Ignore:
Timestamp:
04/29/12 09:52:52 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Various small fixes

File:
1 edited

Legend:

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

    r114 r128  
    143143    def _updateFlightStatus(self):
    144144        """Update the flight status."""
    145         stage = "-" if self._stage is None \
     145        stage = u"-" if self._stage is None \
    146146                else xstr("flight_stage_" + const.stage2string(self._stage))
    147147       
     
    152152
    153153        if appIndicator:
    154             self._stageMenuItem.set_label("%s %s" % (xstr("statusicon_stage"), stage))
    155             self._ratingMenuItem.set_label("%s: %s" %
    156                                            (xstr("statusicon_rating"), rating))
     154            self._stageMenuItem.set_label("%s: %s" % \
     155                                          (xstr("statusicon_stage"),
     156                                           stage))
     157            self._ratingMenuItem.set_label("%s: %s" % \
     158                                           (xstr("statusicon_rating"),
     159                                            rating))
    157160        else:
    158161            if self._noGoReason is not None:
    159162                rating = '<span foreground="red">' + rating + '</span>'
    160             markup = "MAVA Logger X %s\n\n%s: %s\n%s: %s" %\
     163            markup = u"MAVA Logger X %s\n\n%s: %s\n%s: %s" %\
    161164                     (const.VERSION, xstr("statusicon_stage"), stage,
    162165                      xstr("statusicon_rating"), rating)
Note: See TracChangeset for help on using the changeset viewer.