Fix on_write name clash
This commit is contained in:
1 parent
9b0c4404d5
commit
fa179abf8e
1 file changed
+7
-7
@@ -533,7 +533,7 @@ class ParserForm(ParserInterface):
|
||||
notebook.set_border_width(3)
|
||||
container.wid_add(notebook, colspan=attrs.get('colspan', 4),
|
||||
expand=True, fill=True)
|
||||
widget, widgets, buttons, on_write, notebook_list2, cursor_widget2 = \
|
||||
widget, widgets, buttons, spam, notebook_list2, cursor_widget2 = \
|
||||
self.parse(model, node, fields, notebook,
|
||||
tooltips=tooltips)
|
||||
max_width, max_height = -1, -1
|
||||
@@ -573,7 +573,7 @@ class ParserForm(ParserInterface):
|
||||
label = gtk.Label(text)
|
||||
label.set_angle(angle)
|
||||
label.set_use_underline(True)
|
||||
widget, widgets, buttons, on_write, notebook_list2, cursor_widget2 = \
|
||||
widget, widgets, buttons, spam, notebook_list2, cursor_widget2 = \
|
||||
self.parse(model, node, fields, notebook,
|
||||
tooltips=tooltips)
|
||||
if not cursor_widget:
|
||||
@@ -647,7 +647,7 @@ class ParserForm(ParserInterface):
|
||||
help_tip=hlp, fill=fill, xexpand=xexpand, xfill=xfill)
|
||||
|
||||
elif node.localName == 'group':
|
||||
widget, widgets, buttons, on_write, notebook_list2, cursor_widget2 = \
|
||||
widget, widgets, buttons, spam, notebook_list2, cursor_widget2 = \
|
||||
self.parse(model, node, fields, tooltips=tooltips)
|
||||
if not cursor_widget:
|
||||
cursor_widget = cursor_widget2
|
||||
@@ -678,7 +678,7 @@ class ParserForm(ParserInterface):
|
||||
hpaned = gtk.HPaned()
|
||||
container.wid_add(hpaned, colspan=int(attrs.get('colspan', 4)),
|
||||
expand=True, fill=True)
|
||||
widget, widgets, buttons, on_write, notebook_list2, cursor_widget2 = \
|
||||
widget, widgets, buttons, spam, notebook_list2, cursor_widget2 = \
|
||||
self.parse(model, node, fields, paned=hpaned,
|
||||
tooltips=tooltips)
|
||||
if not cursor_widget:
|
||||
@@ -694,7 +694,7 @@ class ParserForm(ParserInterface):
|
||||
vpaned = gtk.VPaned()
|
||||
container.wid_add(vpaned, colspan=int(attrs.get('colspan', 4)),
|
||||
expand=True, fill=True)
|
||||
widget, widgets, buttons, on_write, notebook_list, cursor_widget2 = \
|
||||
widget, widgets, buttons, spam, notebook_list, cursor_widget2 = \
|
||||
self.parse(model, node, fields, paned=vpaned,
|
||||
tooltips=tooltips)
|
||||
if not cursor_widget:
|
||||
@@ -707,7 +707,7 @@ class ParserForm(ParserInterface):
|
||||
if 'position' in attrs:
|
||||
vpaned.set_position(int(attrs['position']))
|
||||
elif node.localName == 'child1':
|
||||
widget, widgets, buttons, on_write, notebook_list2, cursor_widget2 = \
|
||||
widget, widgets, buttons, spam, notebook_list2, cursor_widget2 = \
|
||||
self.parse(model, node, fields, paned=paned,
|
||||
tooltips=tooltips)
|
||||
if not cursor_widget:
|
||||
@@ -719,7 +719,7 @@ class ParserForm(ParserInterface):
|
||||
dict_widget[widget_name].extend(widgets)
|
||||
paned.pack1(widget, resize=True, shrink=True)
|
||||
elif node.localName == 'child2':
|
||||
widget, widgets, buttons, on_write, notebook_list, cursor_widget2 = \
|
||||
widget, widgets, buttons, spam, notebook_list, cursor_widget2 = \
|
||||
self.parse(model, node, fields, paned=paned,
|
||||
tooltips=tooltips)
|
||||
if not cursor_widget:
|
||||
|
||||
Reference in new issue
Block a user