[gnome-shell] popupMenu: Remove 'sensitive' input param
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] popupMenu: Remove 'sensitive' input param
- Date: Mon, 15 Jul 2013 16:37:23 +0000 (UTC)
commit bc317bf3f2840ee2e0c75b81f20f3f1012b57525
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jun 12 03:41:09 2013 -0400
popupMenu: Remove 'sensitive' input param
It's hard to implement properly, was broken, and unused. If somebody
really wants it, they can call setSensitive after constructing the item.
https://bugzilla.gnome.org/show_bug.cgi?id=702539
js/ui/popupMenu.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index c2bc996..29e6ff1 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -42,7 +42,6 @@ const PopupBaseMenuItem = new Lang.Class({
params = Params.parse (params, { reactive: true,
activate: true,
hover: true,
- sensitive: true,
style_class: null,
can_focus: true
});
@@ -65,9 +64,6 @@ const PopupBaseMenuItem = new Lang.Class({
this._spacing = 0;
this.active = false;
this._activatable = params.reactive && params.activate;
- this.sensitive = this._activatable && params.sensitive;
-
- this.setSensitive(this.sensitive);
if (!this._activatable)
this.actor.add_style_class_name('popup-inactive-menu-item');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]