Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/chat/ChatEditor.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-06-18 19:35:44 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-06-18 19:35:44 (GMT)
commitb129956aba1ef25838d3b2a259917330ddbe9417 (patch)
tree0c779451bc505932a2023a755c7257334a4ccdad /sugar/chat/ChatEditor.py
parent3fe0d7a5808b025c8eea3a99ef1c0dcafe2987a1 (diff)
Add back colors in the toolbar. Layout/appeareance sucks atm
Diffstat (limited to 'sugar/chat/ChatEditor.py')
-rw-r--r--sugar/chat/ChatEditor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/chat/ChatEditor.py b/sugar/chat/ChatEditor.py
index 84e6494..b8cfc2e 100644
--- a/sugar/chat/ChatEditor.py
+++ b/sugar/chat/ChatEditor.py
@@ -45,6 +45,9 @@ class ChatEditor(gtk.HBox):
self.set_mode(mode)
+ def set_color(self, color):
+ self._sketchpad.set_color(color)
+
def get_buffer(self):
return self._text_view.get_buffer()