debug-viewer: Add a shortcut to show/hide timeline

This commit is contained in:
Thibault Saunier 2018-04-18 09:03:01 -03:00
parent cb4342b8f2
commit 771f27b44b

View file

@ -1048,7 +1048,8 @@ class TimelineFeature (FeatureBase):
self.action_group = Gtk.ActionGroup("TimelineActions")
self.action_group.add_toggle_actions([("show-timeline",
None, _("_Timeline"),)])
None, _("_Timeline"),
"<Ctrl>t")])
self.state = app.state.sections[TimelineState._name]