[gnome-documents/gnome-3-16] view: Change to selection mode when pressing ctrl+a



commit 65720643ae4609dd7f31b8a5d39f3c8cb50be56b
Author: Alessandro Bono <shadow openaliasbox org>
Date:   Fri Sep 18 19:17:08 2015 +0200

    view: Change to selection mode when pressing ctrl+a
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748120

 src/view.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/view.js b/src/view.js
index fbc2fc9..44885d9 100644
--- a/src/view.js
+++ b/src/view.js
@@ -361,6 +361,7 @@ const ViewContainer = new Lang.Class({
         let selectAll = Application.application.lookup_action('select-all');
         let selectAllId = selectAll.connect('activate', Lang.bind(this,
             function() {
+                Application.selectionController.setSelectionMode(true);
                 this.view.select_all();
             }));
 


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