[gnome-documents] view: Change to selection mode when pressing ctrl+a
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] view: Change to selection mode when pressing ctrl+a
- Date: Tue, 22 Sep 2015 19:09:38 +0000 (UTC)
commit 8a86e3e2ee505596b5f2a976256d4a4f44b47a74
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 89a5d3c..54c7683 100644
--- a/src/view.js
+++ b/src/view.js
@@ -372,6 +372,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]