[the-board: 9/10] [ui] Do not allow selection switches while thing is active



commit 580ce461f7b6e83a5b412da0063cc3fbf22411a8
Author: Lucas Rocha <lucasr gnome org>
Date:   Tue Jan 25 22:16:32 2011 +0000

    [ui] Do not allow selection switches while thing is active

 src/js/ui/thing.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/thing.js b/src/js/ui/thing.js
index 1fb543f..8619ec3 100644
--- a/src/js/ui/thing.js
+++ b/src/js/ui/thing.js
@@ -472,7 +472,7 @@ Thing.prototype = {
             return;
         }
 
-        this._selected = selected;
+        this._selected = selected && !this._active;
 
         this._updateSelection();
         this._updateControls();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]