[gnome-builder] app: add accelerators to focus view stacks
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] app: add accelerators to focus view stacks
- Date: Mon, 13 Apr 2015 23:10:47 +0000 (UTC)
commit 2e9f0fcea550e5bfe738c93b211430d167d2b843
Author: Christian Hergert <christian hergert me>
Date: Mon Apr 13 16:10:36 2015 -0700
app: add accelerators to focus view stacks
<ctrl>1-5 for up to 5 grid parallel view stacks.
I wish this wasn't so global, but it wont do anything if we are not
within a GbWorkbench anyway. So good enough for now.
src/app/gb-application.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/app/gb-application.c b/src/app/gb-application.c
index bb34a0c..5f1c8b1 100644
--- a/src/app/gb-application.c
+++ b/src/app/gb-application.c
@@ -154,6 +154,11 @@ gb_application_load_keybindings (GbApplication *self)
static const struct { gchar *name; gchar *binding; } shared_bindings[] = {
{ "workspace.focus-sidebar", "<ctrl>F9" },
{ "workspace.toggle-sidebar", "F9" },
+ { "workspace.focus-stack(1)", "<ctrl>1" },
+ { "workspace.focus-stack(2)", "<ctrl>2" },
+ { "workspace.focus-stack(3)", "<ctrl>3" },
+ { "workspace.focus-stack(4)", "<ctrl>4" },
+ { "workspace.focus-stack(5)", "<ctrl>5" },
{ "workbench.show-gear-menu", "F10" },
{ "workbench.global-search", "<ctrl>period" },
{ "app.preferences", "<ctrl>comma" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]