[gnome-shell/wip/message-tray-menu: 11/20] popupMenu: Fix return some return values button-press-event
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/message-tray-menu: 11/20] popupMenu: Fix return some return values button-press-event
- Date: Wed, 24 Apr 2013 20:13:58 +0000 (UTC)
commit d920c4d40dae98de88e2af010eecf0fe20d5faeb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 14 17:33:48 2013 -0500
popupMenu: Fix return some return values button-press-event
We need to properly bubble here.
js/ui/popupMenu.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index ae2ce3c..b37fd6c 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -601,7 +601,7 @@ const PopupSliderMenuItem = new Lang.Class({
_startDragging: function(actor, event) {
if (this._dragging) // don't allow two drags at the same time
- return;
+ return false;
this._dragging = true;
@@ -614,6 +614,8 @@ const PopupSliderMenuItem = new Lang.Class({
let absX, absY;
[absX, absY] = event.get_coords();
this._moveHandle(absX, absY);
+
+ return true;
},
_endDragging: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]