~osomon/moovida/fluoh_squashed_experiments

« back to all changes in this revision

Viewing changes to elisa-plugins/elisa/plugins/poblesec/poblesec_browser_controller.py

Set the label of a breadcrumb later.
Fixes frequent text squashing issues on slow hardware.

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
        else:
386
386
            text = _('unknown')
387
387
        crumb = Crumb()
388
 
        crumb.text.label = text
389
388
        crumb.background.connect('clicked', lambda *args: self.emit('crumb-clicked', crumb))
390
389
        self._crumbs.append(crumb)
391
390
        self.add(crumb)
400
399
        crumb.text.x = self._text_x_offset
401
400
        crumb.text.width = self._text_width
402
401
        crumb.visible = True
 
402
        crumb.text.label = text
403
403
        
404
404
        #do not animate the first one
405
405
        if index == 0: