[gnome-documents] application: add GActions for search options
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] application: add GActions for search options
- Date: Wed, 30 Jul 2014 13:19:29 +0000 (UTC)
commit a657086cb21cb57fb31983630bdab05543c9299f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jul 30 15:08:15 2014 +0200
application: add GActions for search options
https://bugzilla.gnome.org/show_bug.cgi?id=725622
src/application.js | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index f3e2020..8f77ee8 100644
--- a/src/application.js
+++ b/src/application.js
@@ -522,7 +522,19 @@ const Application = new Lang.Class({
window_mode: WindowMode.WindowMode.PREVIEW },
{ name: 'copy',
accel: '<Primary>c',
- window_mode: WindowMode.WindowMode.PREVIEW }
+ window_mode: WindowMode.WindowMode.PREVIEW },
+ { name: 'search-source',
+ parameter_type: 's',
+ state: GLib.Variant.new('s', Search.SearchSourceStock.ALL),
+ window_mode: WindowMode.WindowMode.OVERVIEW },
+ { name: 'search-type',
+ parameter_type: 's',
+ state: GLib.Variant.new('s', Search.SearchTypeStock.ALL),
+ window_mode: WindowMode.WindowMode.OVERVIEW },
+ { name: 'search-match',
+ parameter_type: 's',
+ state: GLib.Variant.new('s', Search.SearchMatchStock.ALL),
+ window_mode: WindowMode.WindowMode.OVERVIEW }
];
this.gdataMiner = new Miners.GDataMiner();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]