[gnome-text-editor] sourceview: add keybinding for ctrl+equal



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]