From f3a3965e9b1baac7e30c0e55eb851fc2b30aa836 Mon Sep 17 00:00:00 2001 From: Alexandre Antonino Gonçalves Martinazzo Date: Mon, 10 Sep 2007 21:23:51 +0000 Subject: Squashed commit of the following: commit e1108821e698adc06a10ed18e9d4caec35c811d2 Author: Alexandre Antonino Gonçalves Martinazzo Date: Mon Sep 10 18:17:35 2007 -0300 Bug #3172 fixed. Paint now start with 'Pencil' tool selected Minor changes in Area, new tool structure is comming. --- (limited to 'OficinaActivity.py') diff --git a/OficinaActivity.py b/OficinaActivity.py index d76664a..6e9dea7 100644 --- a/OficinaActivity.py +++ b/OficinaActivity.py @@ -74,6 +74,7 @@ class OficinaActivity(activity.Activity): """ activity.Activity.__init__(self, handle) + self.set_title(_('Paint')) logging.debug('Starting Paint activity (Oficina)') @@ -121,7 +122,9 @@ class OficinaActivity(activity.Activity): # setting scrolledwindow as activity canvas... self.set_canvas(sw) - + + # Setting a default tool + self._area.tool = 'pencil' def read_file(self, file_path): '''Read file from Sugar Journal. -- cgit v0.9.1