Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-11-07 13:26:29 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-11-07 13:26:29 (GMT)
commit75746fc797bcf5ae1764b85d5dd6948b44df10e8 (patch)
tree645cc0b48f1b4fcc5d3c124e88d35c5680e3918e
parent54095f9a3ec5dc32564300415feb58dcf20ef40c (diff)
Revert "Set transparent background in the textview"
Set the background transparent works in sugar-build, but not in the xo. This can be tried in the next cycle again. This reverts commit 45d6940a1e454b169243f7742780fa6b0942fc67. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r--OficinaActivity.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/OficinaActivity.py b/OficinaActivity.py
index e86fffc..5e4528f 100644
--- a/OficinaActivity.py
+++ b/OficinaActivity.py
@@ -62,7 +62,6 @@ Walter Bender (walter@laptop.org)
"""
from gi.repository import Gtk
-from gi.repository import Gdk
import logging
from sugar3.activity import activity
@@ -88,11 +87,11 @@ class OficinaActivity(activity.Activity):
self.fixed = Gtk.Fixed()
self.fixed.show()
+ self.fixed.modify_bg(Gtk.StateType.NORMAL,
+ style.COLOR_WHITE.get_gdk_color())
self.textview = Gtk.TextView()
self.fixed.put(self.textview, 0, 0)
- self.textview.override_background_color(Gtk.StateFlags.NORMAL,
- Gdk.RGBA(0, 0, 0, 0))
# These attributes are used in other classes, so they should be public
self.area = Area(self)