~ubuntu-branches/ubuntu/raring/mythbuntu-control-centre/raring

« back to all changes in this revision

Viewing changes to mythbuntu-control-centre

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2010-01-06 03:23:08 UTC
  • mfrom: (1.1.47 upstream)
  • Revision ID: james.westby@ubuntu.com-20100106032308-wibtgfoi1w7hmzwm
Tags: 0.61-0ubuntu1
Widget names are no longer stored in the widget's internal name, but
rather in the object data.  Sync this information back to the widget's
internal name. (LP: #503710)

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        for widget in self.builder.get_objects():
75
75
            if not isinstance(widget, gtk.Widget):
76
76
                continue
 
77
            widget.set_name(gtk.Buildable.get_name(widget))
77
78
            setattr(self, widget.get_name(), widget)
78
79
 
79
80
        #connect signals