[the-board] [ui] Remove button should start invisible in Thing



commit c35a71020d128682a0c25fc09b3c069e4bb30689
Author: Lucas Rocha <lucasr gnome org>
Date:   Sun Nov 14 01:45:48 2010 +0000

    [ui] Remove button should start invisible in Thing

 src/js/ui/thing.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/thing.js b/src/js/ui/thing.js
index cd4f59e..9e17ec9 100644
--- a/src/js/ui/thing.js
+++ b/src/js/ui/thing.js
@@ -121,7 +121,8 @@ Thing.prototype = {
 
     _createRemoveButton : function() {
         this._removeButton =
-            new Mx.Button({ name: "thing-remove-button" });
+            new Mx.Button({ visible: false,
+                            name: "thing-remove-button" });
 
         this._removeButton.opacity = 0;
         this._removeButton.anchorX = -_SHOW_CONTROLS_LENGTH;



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