klippygtk: button find box with find_widget
This commit is contained in:
1 parent
8209dbabf4
commit
a2ad8e6ade
1 file changed
+3
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user