diff --git a/ks_includes/KlippyGtk.py b/ks_includes/KlippyGtk.py index 53a30dcb..88232d7d 100644 --- a/ks_includes/KlippyGtk.py +++ b/ks_includes/KlippyGtk.py @@ -177,7 +177,9 @@ class KlippyGtk: spinner.set_no_show_all(True) spinner.set_size_request(width, height) spinner.hide() - b.get_child().get_child().add(spinner) + box = find_widget(b, Gtk.Box) + if box: + box.add(spinner) if label is not None: format_label(b, lines)