[gnome-builder/wip/chergert/layout] editor: add shortcut for bottom panel



commit d4d443adbfea74d8f87aa0d5ac67962075dac729
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jul 4 18:48:42 2017 -0700

    editor: add shortcut for bottom panel

 libide/editor/ide-editor-perspective-shortcuts.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/libide/editor/ide-editor-perspective-shortcuts.c 
b/libide/editor/ide-editor-perspective-shortcuts.c
index 3009652..8f0e319 100644
--- a/libide/editor/ide-editor-perspective-shortcuts.c
+++ b/libide/editor/ide-editor-perspective-shortcuts.c
@@ -45,6 +45,12 @@ static const DzlShortcutEntry editor_perspective_entries[] = {
     N_("Editor"),
     N_("Panels"),
     N_("Toggle navigation panel") },
+
+  { "org.gnome.builder.editor.utilities-panel",
+    NULL,
+    N_("Editor"),
+    N_("Panels"),
+    N_("Toggle utilities panel") },
 };
 
 void
@@ -71,6 +77,11 @@ _ide_editor_perspective_init_shortcuts (IdeEditorPerspective *self)
                                               I_("F9"),
                                               I_("dockbin.left-visible"));
 
+  dzl_shortcut_controller_add_command_action (controller,
+                                              I_("org.gnome.builder.editor.utilities-panel"),
+                                              I_("<Control>F9"),
+                                              I_("dockbin.bottom-visible"));
+
   dzl_shortcut_manager_add_shortcut_entries (NULL,
                                              editor_perspective_entries,
                                              G_N_ELEMENTS (editor_perspective_entries),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]