diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index 611590f2c7..5af6b36b8a 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -99,6 +99,8 @@ class Float(Int): w = self.widgets[1] w.setRange(-100., float(sys.maxint)) w.setDecimals(2) + w.setSpecialValueText(_('Undefined')) + w.setSingleStep(1) class Rating(Int): @@ -106,7 +108,7 @@ class Rating(Int): Int.setup_ui(self, parent) w = self.widgets[1] w.setRange(0, 5) - w.setSuffix(' '+_('stars')) + w.setSuffix(' '+_('star(s)')) w.setSpecialValueText(_('Unrated')) def setter(self, val): @@ -307,9 +309,6 @@ class BulkBase(Base): class BulkBool(BulkBase, Bool): pass -class BulkRating(BulkBase, Rating): - pass - class BulkInt(BulkBase, Int): pass