[gnome-shell/wip/message-tray-menu: 18/25] popupMenu: Fix bubbling in the slider widget



commit 809adf2d8900070396455837dc37498f8989a759
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Feb 14 17:33:48 2013 -0500

    popupMenu: Fix bubbling in the slider widget

 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 2e61013..2c15a0d 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -612,7 +612,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;
 
@@ -625,6 +625,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]