[gnome-shell] popupMenu: Complete the dummy fake menu
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] popupMenu: Complete the dummy fake menu
- Date: Mon, 10 Dec 2012 19:38:51 +0000 (UTC)
commit 13a2b28bf118b97e0c285a9fa621deb19ac9a28e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Dec 10 03:42:53 2012 -0500
popupMenu: Complete the dummy fake menu
"toggle" is used when clicking on the source actor. As we don't
actually have a menu, we don't want to actually take any grabs
through the menu system, so make it a no-op rather than have it
toggle the menu state.
https://bugzilla.gnome.org/show_bug.cgi?id=689954
js/ui/popupMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 155a854..85acb70 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -1289,6 +1289,7 @@ const PopupDummyMenu = new Lang.Class({
open: function() { this.emit('open-state-changed', true); },
close: function() { this.emit('open-state-changed', false); },
+ toggle: function() {},
destroy: function() {
this.emit('destroy');
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]