[gnome-shell/wip/aggregate-menu: 26/75] popupMenu: Don't close submenus when activating items
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 26/75] popupMenu: Don't close submenus when activating items
- Date: Mon, 1 Jul 2013 18:10:16 +0000 (UTC)
commit 075cb66a7813e2b2f93a7f7ea5c00e5c1c991a41
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jun 12 17:38:02 2013 -0400
popupMenu: Don't close submenus when activating items
It looks ugly to have the menu shrinking and having its insides
flowing around while the menu is fading out of existence...
https://bugzilla.gnome.org/show_bug.cgi?id=702539
js/ui/popupMenu.js | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 7f41bac..a825c1a 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -764,7 +764,6 @@ const PopupMenuBase = new Lang.Class({
_connectSubMenuSignals: function(object, menu) {
object._subMenuActivateId = menu.connect('activate', Lang.bind(this, function(animate) {
this.emit('activate', animate);
- this.close(animate);
}));
object._subMenuActiveChangeId = menu.connect('active-changed', Lang.bind(this, function(submenu,
submenuItem) {
if (this._activeMenuItem && this._activeMenuItem != submenuItem)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]