timeline: remove broken actions from context menu

Hide lines before/after doesn't work as expected in this case.
This commit is contained in:
René Stadler 2012-09-21 00:40:07 +02:00 committed by Stefan Sauer
parent 33a8efa93d
commit 409ae7e522

View file

@ -816,10 +816,10 @@ class AttachedWindow (object):
gtk.UI_MANAGER_POPUP, False)
# TODO: Make hide before/after operate on the partition that the mouse
# is pointed at instead of the currently selected line.
ui.add_ui (self.merge_id, "/TimelineContextMenu", "TimelineHideLinesBefore",
"hide-before-line", gtk.UI_MANAGER_MENUITEM, False)
ui.add_ui (self.merge_id, "/TimelineContextMenu", "TimelineHideLinesAfter",
"hide-after-line", gtk.UI_MANAGER_MENUITEM, False)
# ui.add_ui (self.merge_id, "/TimelineContextMenu", "TimelineHideLinesBefore",
# "hide-before-line", gtk.UI_MANAGER_MENUITEM, False)
# ui.add_ui (self.merge_id, "/TimelineContextMenu", "TimelineHideLinesAfter",
# "hide-after-line", gtk.UI_MANAGER_MENUITEM, False)
ui.add_ui (self.merge_id, "/TimelineContextMenu", "TimelineShowHiddenLines",
"show-hidden-lines", gtk.UI_MANAGER_MENUITEM, False)