[sushi/gnome-3-2] text: fix a leftover workaround
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/gnome-3-2] text: fix a leftover workaround
- Date: Thu, 29 Sep 2011 23:20:21 +0000 (UTC)
commit 277e7973c12cfb87a10adb62e6e5dcd000cf64e4
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]