From 6ab73a35e3a1873f0c64f66ea236c572faaf9666 Mon Sep 17 00:00:00 2001 From: Alexandre Antonino Gonçalves Martinazzo Date: Mon, 20 Aug 2007 20:13:52 +0000 Subject: New Paint (oficina) version: 5 User can choose side number for regular polygons Fixed bug that denied user to choose shapes for brush and eraser Added rainbow effect (by andremossinato) --- (limited to 'OficinaActivity.py') diff --git a/OficinaActivity.py b/OficinaActivity.py index cf8b56e..fdc62d7 100644 --- a/OficinaActivity.py +++ b/OficinaActivity.py @@ -105,7 +105,9 @@ class OficinaActivity(activity.Activity): self._textview = gtk.Entry() self._area.tool = 2 self._fixed.put(self._area, 200 , 100) - + # Area size increased + #self._fixed.put(self._area, 0 , 0) + sw.add_with_viewport(self._fixed) self._area.show() self._fixed.show() @@ -129,7 +131,7 @@ class OficinaActivity(activity.Activity): logging.debug('reading file %s', file_path) # logging.debug(file_path) - self._area.d.loadImage(file_path, self._area) + self._area.loadImage(file_path, self._area, False) # Does this work? # self._area.undo_times = 1 -- cgit v0.9.1