[the-board] [things] Remove size update from text in TextThing's constructor
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [things] Remove size update from text in TextThing's constructor
- Date: Tue, 7 Dec 2010 18:02:12 +0000 (UTC)
commit eb4acf9bdbf5a676e2a7058cd1b2836bf7774203
Author: Lucas Rocha <lucasr gnome org>
Date: Tue Dec 7 17:12:17 2010 +0000
[things] Remove size update from text in TextThing's constructor
It conflicts with the size update happening when the text thing
initially loads its state.
src/js/ui/things/text.js | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/js/ui/things/text.js b/src/js/ui/things/text.js
index a8199ac..baf0494 100644
--- a/src/js/ui/things/text.js
+++ b/src/js/ui/things/text.js
@@ -99,13 +99,6 @@ TextThing.prototype = {
this._createText(initialText);
Thing.Thing.prototype._init.apply(this, [args]);
-
- let updateSizeOnIdle = function() {
- this._maybeUpdateSizeFromText();
- return false;
- }
-
- Mainloop.idle_add(Lang.bind(this, updateSizeOnIdle));
},
_createBgBox : function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]