~ubuntu-branches/ubuntu/raring/software-center/raring-proposed

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/widgets/separators.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2012-10-11 15:33:05 UTC
  • mfrom: (195.1.18 quantal)
  • Revision ID: package-import@ubuntu.com-20121011153305-fm5ln7if3rpzts4n
Tags: 5.4.1.1
* lp:~mvo/software-center/reinstall-previous-purchase-token-fix:
  - fix reinstall previous purchases that have a system-wide
    license key LP: #1065481
* lp:~mvo/software-center/lp1060106:
  - Add missing gettext init for utils/update-software-center-agent
    (LP: #1060106)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        context = self.get_style_context()
9
9
        context.add_class("item-view-separator")
10
10
        self.connect("style-updated", self.on_style_updated)
 
11
        # workaround broken engines (LP: #1021308)
 
12
        self.emit("style-updated")
11
13
        return
12
14
 
13
15
    def on_style_updated(self, widget):
33
35
        cr.set_line_width(2 * width)
34
36
        cr.stroke()
35
37
        cr.restore()
 
38
        for child in self:
 
39
            self.propagate_draw(child, cr)