227
227
layout.set_markup("<small>%s</small>" % s, -1)
235
235
context.add_class("cellrenderer-avgrating-label")
236
236
Gtk.render_layout(context, cr, x, y, layout)
240
239
def _render_progress(self, context, cr, progress, cell_area, ypad, is_rtl):
241
240
percent = progress * 0.01
243
243
action_btn = self.get_button_by_name(CellButtonIDs.ACTION)
245
245
x, _, w, h = action_btn.allocation