~gary-lasker/software-center/replace-restfulclient-with-piston-tweaks

« back to all changes in this revision

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

  • Committer: Michael Vogt
  • Date: 2012-01-05 09:53:52 UTC
  • Revision ID: michael.vogt@ubuntu.com-20120105095352-hx7a9zh3s8z2xwn6
test fixes, testsuite passes now *except* that the GObject.thread_init() is needed to use threads but if its used it will causes segfaults on exit

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
                self.image = icon
63
63
            else:
64
64
                self.image = Gtk.Image()
65
 
                self.image = _update_icon(icon, icon_size)
 
65
                _update_icon(self.image, icon, icon_size)
66
66
            self.box.pack_start(self.image, True, True, 0)
67
67
 
68
68
        self.label = Gtk.Label.new(label)