[sushi] main-window: simplify code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] main-window: simplify code
- Date: Tue, 3 Jul 2012 17:59:43 +0000 (UTC)
commit 98d19ebe26f42bc1623367c1ff16299f72cce797
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jul 3 13:46:51 2012 -0400
main-window: simplify code
src/js/ui/mainWindow.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index e5a30da..0bb8db3 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -71,7 +71,6 @@ MainWindow.prototype = {
this._createGtkWindow();
this._createClutterEmbed();
- this._connectStageSignals();
this.file = null;
},
@@ -121,9 +120,7 @@ MainWindow.prototype = {
this._mainGroup = new Clutter.Actor({ layout_manager: this._mainLayout });
this._stage.add_actor(this._mainGroup);
this._mainGroup.set_opacity(0);
- },
- _connectStageSignals : function() {
this._stage.connect('key-press-event',
Lang.bind(this, this._onStageKeyPressEvent));
this._stage.connect('button-press-event',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]