[gnome-documents/gnome-3-16] preview: Clean up
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/gnome-3-16] preview: Clean up
- Date: Fri, 10 Apr 2015 17:51:50 +0000 (UTC)
commit 6acaa6a83369f49370b65cafba530491be03fe7c
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Apr 10 15:08:00 2015 +0200
preview: Clean up
https://bugzilla.gnome.org/show_bug.cgi?id=747506
src/preview.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index cab627d..4a7d2d5 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -110,13 +110,13 @@ const PreviewView = new Lang.Class({
this.view.zoom_out();
}));
- this._findPrev = Application.application.lookup_action('find-prev');
- this._findPrev.connect('activate', Lang.bind(this,
+ let findPrev = Application.application.lookup_action('find-prev');
+ findPrev.connect('activate', Lang.bind(this,
function() {
this.view.find_previous();
}));
- this._findNext = Application.application.lookup_action('find-next');
- this._findNext.connect('activate', Lang.bind(this,
+ let findNext = Application.application.lookup_action('find-next');
+ findNext.connect('activate', Lang.bind(this,
function() {
this.view.find_next();
}));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]