Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-11 14:16:34 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-14 11:00:10 (GMT)
commitbcde5c0b81bf6a1143dda8f6db041dbce2c1eefe (patch)
treebcd453f9a70f69c9028be906b478cd439da987f9
parentf22f1ac5f7171fc875f3d657d21e96d216c65d19 (diff)
Remove custom draw on Face
Used code on card no longer available.
-rw-r--r--face.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/face.py b/face.py
index e82edcd..1f9b4ec 100644
--- a/face.py
+++ b/face.py
@@ -37,18 +37,11 @@ class Face(Gtk.EventBox):
self.show_all()
self.set_app_paintable(True)
- self.connect('draw', self.__draw_cb)
self.connect('unrealize', self._unrealize_cb)
def _unrealize_cb(self, widget):
self.face.shut_up()
- def __draw_cb(self, widget, context):
- card = self.get_parent().get_parent()
- pixbuf = card._read_icon_data('front')
- Gdk.cairo_set_source_pixbuf(context, pixbuf, 0, 0)
- context.paint()
-
def look_at():
if not speak.espeak.supported: