Add search navigation menu items to view menu

This commit is contained in:
René Stadler 2007-12-11 11:13:46 +02:00 committed by Stefan Sauer
parent e3d2cfb035
commit f8da21fb46

View file

@ -249,9 +249,11 @@ class FindBarFeature (FeatureBase):
self.log_view = window.log_view
self.merge_id = ui.new_merge_id ()
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",
"ViewFindBar", "show-find-bar",
gtk.UI_MANAGER_MENUITEM, False)
name, action_name, gtk.UI_MANAGER_MENUITEM, False)
box = window.widgets.vbox_view
self.bar = FindBarWidget (self.action_group)