1526
1529
def _on_transaction_progress_changed(self, backend, pkgname, progress):
1527
1530
if self.app_details and self.app_details.pkgname and self.app_details.pkgname == pkgname:
1528
1531
if not self.action_bar.progress.get_property('visible'):
1530
1534
if pkgname in backend.pending_transactions:
1531
1535
self.action_bar.progress.set_fraction(progress/100.0)
1533
1537
self.action_bar.progress.set_fraction(1)
1543
1540
#def _draw_icon_inset_frame(self, cr):
1544
1541
## draw small or no icon background
1545
1542
#a = self.app_info.image.allocation