[sushi/gnome-41-text-viewer-enable-context-menu] text: Allow text view to focus so keyboard shortcuts work



commit a410bbe634e67a7d5c6863ad61e1cfd523fabd25
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Sep 24 11:56:05 2021 +0200

    text: Allow text view to focus so keyboard shortcuts work
    
    This way users can use keyboard shortcuts such as Ctrl + C for copy.
    
    Fixes #70

 src/viewers/text.js | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/viewers/text.js b/src/viewers/text.js
index 4c16fb5..087945c 100644
--- a/src/viewers/text.js
+++ b/src/viewers/text.js
@@ -55,7 +55,6 @@ var Klass = GObject.registerClass({
                                           cursor_visible: false,
                                           monospace: true,
                                           show_line_numbers: !!buffer.language });
-        this._view.set_can_focus(false);
         this.add(this._view);
         this.isReady();
     }


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