[gnome-builder/wip/gtk4-port: 261/343] libide/gui: add ctrl+, keybinding from workspace windows
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 261/343] libide/gui: add ctrl+, keybinding from workspace windows
- Date: Mon, 4 Apr 2022 20:02:17 +0000 (UTC)
commit f36ca8c07294223ae02f3041ea78bb89e0e9ccde
Author: Christian Hergert <chergert redhat com>
Date: Thu Mar 31 12:49:18 2022 -0700
libide/gui: add ctrl+, keybinding from workspace windows
We want this activated basically anywhere, and can just add the keybinding
to the workbench windows themselves.
src/libide/gui/ide-workspace.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/gui/ide-workspace.c b/src/libide/gui/ide-workspace.c
index 1fa6cf760..8f6241f73 100644
--- a/src/libide/gui/ide-workspace.c
+++ b/src/libide/gui/ide-workspace.c
@@ -439,6 +439,8 @@ ide_workspace_class_init (IdeWorkspaceClass *klass)
(G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
g_object_class_install_properties (object_class, N_PROPS, properties);
+
+ gtk_widget_class_add_binding_action (widget_class, GDK_KEY_comma, GDK_CONTROL_MASK, "app.preferences",
NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]