[gnote] Use correct section in backlinks



commit 94266decb948c2e4d247eabb59d03317b2468290
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Mar 31 18:39:08 2019 +0300

    Use correct section in backlinks

 src/addins/backlinks/backlinksnoteaddin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/addins/backlinks/backlinksnoteaddin.cpp b/src/addins/backlinks/backlinksnoteaddin.cpp
index e03f5ae5..843218e5 100644
--- a/src/addins/backlinks/backlinksnoteaddin.cpp
+++ b/src/addins/backlinks/backlinksnoteaddin.cpp
@@ -75,7 +75,7 @@ std::vector<gnote::PopoverWidget> BacklinksNoteAddin::get_actions_popover_widget
 {
   auto widgets = NoteAddin::get_actions_popover_widgets();
   auto menu_button = gnote::utils::create_popover_submenu_button("backlinks-menu", _("What links here?"));
-  widgets.push_back(gnote::PopoverWidget::create_for_note(gnote::BACKLINKS_ORDER, menu_button));
+  widgets.push_back(gnote::PopoverWidget(gnote::NOTE_SECTION_CUSTOM_SECTIONS, gnote::BACKLINKS_ORDER, 
menu_button));
 
   auto submenu = gnote::utils::create_popover_submenu("backlinks-menu");
   update_menu(submenu);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]