diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-10 23:12:35 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-10 23:12:35 (GMT) |
commit | 1343090a6eb897110bc5c31098786168f35be65a (patch) | |
tree | be33657b933ea2b47f02bc3a48a12be299c27738 /historietaactivity.py | |
parent | 65416b7976c9ef65dc26884b8952eefa6af393c5 (diff) |
fix SL #2230 - Fototoon does not show controls when speech bubble first selected
Bassed in the work of SHACHI PAUL <shachi@seeta.in>, Sarvagya Mukhi <sarvagya@seeta.in>
Diffstat (limited to 'historietaactivity.py')
-rw-r--r-- | historietaactivity.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/historietaactivity.py b/historietaactivity.py index be3d4b9..cf0d4d5 100644 --- a/historietaactivity.py +++ b/historietaactivity.py @@ -194,7 +194,9 @@ class ComicBox(gtk.DrawingArea): def set_globo_activo(self,globo): if (globo == None): - self._globo_activo.selec = False + self._globo_activo.selec = False + else: + globo.selec = True self._globo_activo = globo if (globo != None): self.page._text_toolbar.setToolbarState(globo.texto) @@ -344,8 +346,8 @@ class ComicBox(gtk.DrawingArea): # i.mover_a(event.x,event.y,self.get_allocation()) self.glob_press = i self.set_globo_activo(i) + self.queue_draw() break - self.queue_draw() def releassing(self, widget, event): #Cuando se deja de pulsar el mouse |