[the-board: 9/10] [ui] Do not allow selection switches while thing is active
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board: 9/10] [ui] Do not allow selection switches while thing is active
- Date: Tue, 25 Jan 2011 22:40:31 +0000 (UTC)
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]