summaryrefslogtreecommitdiff
path: root/voctogui/lib/uibuilder.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctogui/lib/uibuilder.py')
-rw-r--r--voctogui/lib/uibuilder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/voctogui/lib/uibuilder.py b/voctogui/lib/uibuilder.py
index 8ce01ab..2d6a85b 100644
--- a/voctogui/lib/uibuilder.py
+++ b/voctogui/lib/uibuilder.py
@@ -15,13 +15,13 @@ class UiBuilder(object):
def find_widget_recursive(self, widget, name):
widget = self._find_widget_recursive(widget, name)
if not widget:
- self.log.error('could find required widget "%s" by name (not ID!) inside the parent %s', name, str(widget))
+ self.log.error('could find required widget "%s" by ID inside the parent %s', name, str(widget))
raise Exception('Widget not found in parent')
return widget
def _find_widget_recursive(self, widget, name):
- if widget.get_name() == name:
+ if Gtk.Buildable.get_name(widget) == name:
return widget
if hasattr(widget, 'get_children'):