79
80
def __init__(self, content, msg=""):
80
81
Gtk.Notebook.__init__(self)
81
83
self.spinner_view = SpinnerView(msg)
82
84
# its critical to show() the spinner early as otherwise
83
85
# gtk_notebook_set_active_page() will not switch to it
86
88
self.set_show_tabs(False)
87
89
self.set_show_border(False)
88
90
self.append_page(content, Gtk.Label("content"))