diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2014-07-11 14:16:34 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2014-07-14 11:00:10 (GMT) |
commit | bcde5c0b81bf6a1143dda8f6db041dbce2c1eefe (patch) | |
tree | bcd453f9a70f69c9028be906b478cd439da987f9 | |
parent | f22f1ac5f7171fc875f3d657d21e96d216c65d19 (diff) |
Remove custom draw on Face
Used code on card no longer available.
-rw-r--r-- | face.py | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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: |