diff options
author | Matt Watson <mattdangerw@gmail.com> | 2014-05-12 18:48:47 -0700 |
---|---|---|
committer | Matt Watson <mattdangerw@gmail.com> | 2014-05-13 12:50:08 -0700 |
commit | 742e9677579996cd4eff0f5c2aae0ab3446b6809 (patch) | |
tree | 4b623da16e97fade4c5a89928736dde7ef35837f /overrides | |
parent | b1b7b8a001ab2f50f93c751f025f83ee12fcfac0 (diff) |
Remove action menu
Wasn't getting used in any apps so we are taking it out
[endlessm/eos-sdk#985]
Diffstat (limited to 'overrides')
-rw-r--r-- | overrides/Endless.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/overrides/Endless.js b/overrides/Endless.js index 02eed50..1ed3312 100644 --- a/overrides/Endless.js +++ b/overrides/Endless.js @@ -42,16 +42,4 @@ function _init() { } } } - - // Override Endless.ActionMenu.add_action() so that we hide the use of - // GtkAction from the developer, as that will be deprecated in the future. - Endless.ActionMenu.prototype._add_action_real = Endless.ActionMenu.prototype.add_action; - Endless.ActionMenu.prototype.add_action = function(dict, callback) { - let action = new Gtk.Action(dict); - this._add_action_real(action); - - if (typeof callback === "function") { - action.connect('activate', callback); - } - } } |