diff --git a/debug-viewer/GstDebugViewer/Plugins/FindBar.py b/debug-viewer/GstDebugViewer/Plugins/FindBar.py index b8671b857d..f02c7cc344 100644 --- a/debug-viewer/GstDebugViewer/Plugins/FindBar.py +++ b/debug-viewer/GstDebugViewer/Plugins/FindBar.py @@ -249,9 +249,11 @@ class FindBarFeature (FeatureBase): self.log_view = window.log_view self.merge_id = ui.new_merge_id () - ui.add_ui (self.merge_id, "/menubar/ViewMenu/ViewMenuAdditions", - "ViewFindBar", "show-find-bar", - gtk.UI_MANAGER_MENUITEM, False) + for name, action_name in [("ViewFindBar", "show-find-bar",), + ("ViewNextResult", "goto-next-search-result",), + ("ViewPrevResult", "goto-previous-search-result",)]: + ui.add_ui (self.merge_id, "/menubar/ViewMenu/ViewMenuAdditions", + name, action_name, gtk.UI_MANAGER_MENUITEM, False) box = window.widgets.vbox_view self.bar = FindBarWidget (self.action_group)