Add some missing code

This commit is contained in:
Andrew Resch 2011-02-23 15:05:54 -08:00 committed by Pedro Algarvio
parent 1a6742b1e2
commit 03325c5f48
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ class PreferencePage(object):
self.builder = gtk.Builder() self.builder = gtk.Builder()
self.builder.add_from_file(xmlfile) self.builder.add_from_file(xmlfile)
self.set_widget(self.builder.get_object(obj)) self.set_widget(self.builder.get_object(obj))
class GtkUIPreferencePage(PreferencePage): class GtkUIPreferencePage(PreferencePage):
def __init__(self, name, xml, widget): def __init__(self, name, xml, widget):
super(GtkUIPreferencePage, self).__init__() super(GtkUIPreferencePage, self).__init__()