diff options
author | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-09-10 21:23:51 (GMT) |
---|---|---|
committer | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-09-10 21:23:51 (GMT) |
commit | f3a3965e9b1baac7e30c0e55eb851fc2b30aa836 (patch) | |
tree | c677771f4904e867b6c26e54f913c85f7eb8608e /OficinaActivity.py | |
parent | f11a11c581f8e79308704ec8799eedada02f64a3 (diff) |
Squashed commit of the following:
commit e1108821e698adc06a10ed18e9d4caec35c811d2
Author: Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com>
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.
Diffstat (limited to 'OficinaActivity.py')
-rw-r--r-- | OficinaActivity.py | 5 |
1 files changed, 4 insertions, 1 deletions
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. |