Ignore:
Timestamp:
12/27/12 08:34:28 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The rating is displayed with an accuracy of 1 decimal digit (re #173)

Location:
src/mlx/gui
Files:
2 edited

Legend:

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

    r300 r404  
    147147   
    148148        if self._noGoReason is None:
    149             rating = "%.0f%%" % (self._rating,)
     149            rating = "%.1f%%" % (self._rating,)
    150150        else:
    151151            rating = '<span foreground="red">' + self._noGoReason + '</span>'
  • src/mlx/gui/statusicon.py

    r300 r404  
    158158       
    159159        if self._noGoReason is None:
    160             rating = "%.0f%%" % (self._rating,)
     160            rating = "%.1f%%" % (self._rating,)
    161161        else:
    162162            rating = self._noGoReason
Note: See TracChangeset for help on using the changeset viewer.