169
169
plugins.hook_notebook_sidebar.connect (on_hook_sidebar);
170
170
plugins.hook_document.connect (on_hook_document);
171
171
plugins.hook_toolbar.connect ((toolbar) => {
172
173
if (this.bookmark_tool_button != null && this.new_button != null)
175
176
this.bookmark_tool_button = new Gtk.ToolButton (new Gtk.Image.from_icon_name ("bookmark-new", Gtk.IconSize.LARGE_TOOLBAR), _("Bookmark"));
176
177
bookmark_tool_button.show_all ();
177
178
bookmark_tool_button.clicked.connect (() => add_bookmark ());