[gnome-documents/gnome-3-14] 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/gnome-3-14] view: Change to selection mode when pressing ctrl+a
- Date: Tue, 22 Sep 2015 19:19:36 +0000 (UTC)
commit d061f0b3c752189677299210c744776a1f48a056
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 ad671f3..5cc96e3 100644
--- a/src/view.js
+++ b/src/view.js
@@ -222,6 +222,7 @@ const ViewContainer = new Lang.Class({
let selectAll = Application.application.lookup_action('select-all');
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]