Commit 82b6cd66 authored by Philipp Hörist's avatar Philipp Hörist

PluginWindow: add get_notebook()

So plugins can access the notebook more easily
parent e726b1bb
......@@ -133,6 +133,10 @@ class PluginsWindow(EventHelper):
self.window.show_all()
def get_notebook(self):
# Used by plugins
return self.plugins_notebook
def on_key_press_event(self, widget, event):
if event.keyval == Gdk.KEY_Escape:
self.window.destroy()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment