blob: d54befa991202300914677143b8353d69f0ce84a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- Builder.py.old 2021-10-29 17:57:58.213324116 +0200
+++ Builder.py 2021-10-29 17:58:59.863321882 +0200
@@ -85,7 +85,7 @@
tree.parse(filename)
# TODO: dreprecated
- ele_widgets = tree.getiterator("object")
+ ele_widgets = tree.iter("object")
for ele_widget in ele_widgets:
name = ele_widget.attrib['id']
widget = self.get_object(name)
@@ -108,7 +108,7 @@
self.connections.extend(connections)
#TODO: dreprecated
- ele_signals = tree.getiterator("signal")
+ ele_signals = tree.iter("signal")
for ele_signal in ele_signals:
self.glade_handler_dict.update(
{ele_signal.attrib["handler"]: None})
|