[plugin_installer] Use get_notebook() to access notebook

This commit is contained in:
Philipp Hörist
2020-01-04 11:14:21 +01:00
parent 1cb65063e8
commit b1189947e5
2 changed files with 3 additions and 3 deletions

View File

@@ -31,11 +31,11 @@ class Column(IntEnum):
class AvailablePage(Observable):
def __init__(self, builder_path, plugin_window):
def __init__(self, builder_path, notebook):
Observable.__init__(self)
self._ui = get_builder(builder_path)
self._notebook = plugin_window.plugins_notebook
self._notebook = notebook
self._page_num = self._notebook.append_page(
self._ui.available_plugins_box,
Gtk.Label.new(_('Available')))