mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Add hide before/after menu items to timeline context menu
This commit is contained in:
parent
cec4541f3d
commit
47badacfde
1 changed files with 6 additions and 6 deletions
|
@ -642,12 +642,12 @@ class TimelineFeature (FeatureBase):
|
|||
|
||||
ui.add_ui (self.merge_id, "/", "TimelineContextMenu", None,
|
||||
gtk.UI_MANAGER_POPUP, False)
|
||||
# TODO: Makes sense to have these here too, but we need to add logic to
|
||||
# the actions to associate the correct line with the activation.
|
||||
## 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)
|
||||
# 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", "TimelineShowHiddenLines",
|
||||
"show-hidden-lines", gtk.UI_MANAGER_MENUITEM, False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue