[gnome-text-editor] sourceview: add keybinding for ctrl+equal
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] sourceview: add keybinding for ctrl+equal
- Date: Wed, 8 Dec 2021 20:09:47 +0000 (UTC)
commit 48f98574d70a3abf47b088759b75742151f1254a
Author: Christian Hergert <chergert redhat com>
Date: Wed Dec 8 12:09:36 2021 -0800
sourceview: add keybinding for ctrl+equal
Fixes #247
src/editor-source-view.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/editor-source-view.c b/src/editor-source-view.c
index ebb622c..537729f 100644
--- a/src/editor-source-view.c
+++ b/src/editor-source-view.c
@@ -544,6 +544,7 @@ editor_source_view_class_init (EditorSourceViewClass *klass)
gtk_widget_class_add_binding_action (widget_class, GDK_KEY_plus, GDK_CONTROL_MASK, "page.zoom-in", NULL);
gtk_widget_class_add_binding_action (widget_class, GDK_KEY_KP_Add, GDK_CONTROL_MASK, "page.zoom-in", NULL);
+ gtk_widget_class_add_binding_action (widget_class, GDK_KEY_equal, GDK_CONTROL_MASK, "page.zoom-in", NULL);
gtk_widget_class_add_binding_action (widget_class, GDK_KEY_minus, GDK_CONTROL_MASK, "page.zoom-out", NULL);
gtk_widget_class_add_binding_action (widget_class, GDK_KEY_KP_Subtract, GDK_CONTROL_MASK, "page.zoom-out",
NULL);
gtk_widget_class_add_binding_action (widget_class, GDK_KEY_0, GDK_CONTROL_MASK, "page.zoom-one", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]