[gnome-documents] base-view: emit 'item-activated' when selecting a row
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] base-view: emit 'item-activated' when selecting a row
- Date: Sat, 26 Nov 2011 07:46:07 +0000 (UTC)
commit 78c53eeed8c6c0ccbd3381a48f229d9f39180de1
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Nov 26 02:33:04 2011 -0500
base-view: emit 'item-activated' when selecting a row
src/manager.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/manager.js b/src/manager.js
index b75a05e..cec996b 100644
--- a/src/manager.js
+++ b/src/manager.js
@@ -238,6 +238,7 @@ BaseView.prototype = {
let iter = this._model.model.get_iter(path)[1];
let id = this._model.model.get_value(iter, BaseModelColumns.ID);
+ this.emit('item-activated');
this._manager.setActiveItemById(id);
}));
@@ -291,3 +292,4 @@ BaseView.prototype = {
additionalFunc(col, cell, model, iter);
}
};
+Signals.addSignalMethods(BaseView.prototype);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]