[sushi] text: fix a leftover workaround



commit d5abd0a1581183df42fd7ff0c5f69e37e49d8b3a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Sep 29 19:14:44 2011 -0400

    text: fix a leftover workaround
    
    This was a leftover from when we used a workaround for a Clutter-GTK
    bug, and it blocked the toolbar from showing up for text documents.

 src/js/viewers/text.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/viewers/text.js b/src/js/viewers/text.js
index 70b89f3..209a2a3 100644
--- a/src/js/viewers/text.js
+++ b/src/js/viewers/text.js
@@ -107,7 +107,7 @@ TextRenderer.prototype = {
 
         this._mainToolbar.show();
 
-        this._toolbarActor = Utils.forcedSizeActor(this._mainToolbar);
+        this._toolbarActor = new GtkClutter.Actor({ contents: this._mainToolbar });
 
         return this._toolbarActor;
     }



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