diff --git a/src/sysprof/sysprof-window.c b/src/sysprof/sysprof-window.c index 612c0a5d..2fe997d6 100644 --- a/src/sysprof/sysprof-window.c +++ b/src/sysprof/sysprof-window.c @@ -425,6 +425,7 @@ static void sysprof_window_init (SysprofWindow *self) { g_autoptr(GPropertyAction) show_left_sidebar = NULL; + g_autoptr(GPropertyAction) show_right_sidebar = NULL; gtk_widget_init_template (GTK_WIDGET (self)); @@ -432,6 +433,11 @@ sysprof_window_init (SysprofWindow *self) self->left_split_overlay, "show-sidebar"); g_action_map_add_action (G_ACTION_MAP (self), G_ACTION (show_left_sidebar)); + + show_right_sidebar = g_property_action_new ("show-right-sidebar", + self->right_split_overlay, + "show-sidebar"); + g_action_map_add_action (G_ACTION_MAP (self), G_ACTION (show_right_sidebar)); } GtkWidget * diff --git a/src/sysprof/sysprof-window.ui b/src/sysprof/sysprof-window.ui index bd1b9521..b257a176 100644 --- a/src/sysprof/sysprof-window.ui +++ b/src/sysprof/sysprof-window.ui @@ -8,6 +8,12 @@ 750 + + + <control>F9 + action(win.show-right-sidebar) + + F9