From 9589ba431934d639fb7d7ed1a20abafcbf347281 Mon Sep 17 00:00:00 2001 From: isen Date: Thu, 08 Oct 2009 05:55:00 +0000 Subject: just some changes --- (limited to 'tutorius') diff --git a/tutorius/overlayer.py b/tutorius/overlayer.py index d2cb3ac..8203aa6 100644 --- a/tutorius/overlayer.py +++ b/tutorius/overlayer.py @@ -198,7 +198,7 @@ class TextBubble(gtk.Widget): # # TODO fetch speaker coordinates - # draw bubble tail if present + # draw bubble tails if present for i in range(len(self.tailpos)): if self.tailpos[i] != [0,0]: context.move_to(xradius-width/4, yradius) @@ -228,7 +228,7 @@ class TextBubble(gtk.Widget): context.set_source_rgb(*xo_fill_color) context.fill() - # bubble painting. Redrawing the inside after the tail will combine + # bubble painting. Redrawing the inside after tails will combine for i in range(len(self.tailpos)): if self.tailpos[i] != [0,0]: context.move_to(xradius-width/4, yradius) diff --git a/tutorius/properties.py b/tutorius/properties.py index 55b02ca..f2367d7 100644 --- a/tutorius/properties.py +++ b/tutorius/properties.py @@ -207,8 +207,8 @@ class TArrayProperty(TutoriusProperty): self.indexeur = value #stock la value, pour l'indexation self.default = self.validate(value) - def __getitem__(self, key): # obligation de redéfinir l'indexation - return self.indexeur[key] # + #def __getitem__(self, key): # obligation de redéfinir l'indexation + # return self.indexeur[key] # class TColorProperty(TutoriusProperty): """ -- cgit v0.9.1