Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/OficinaActivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'OficinaActivity.py')
-rw-r--r--OficinaActivity.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/OficinaActivity.py b/OficinaActivity.py
index 3d54bb3..d5727e0 100644
--- a/OficinaActivity.py
+++ b/OficinaActivity.py
@@ -83,7 +83,7 @@ class OficinaActivity(activity.Activity):
os.chdir(activity.get_bundle_path())
#print activity.get_bundle_path()
- self._fixed = gtk.Fixed()
+ self._fixed = gtk.Fixed()
self._area = Area(self)
toolbox = Toolbox(self)
@@ -123,8 +123,17 @@ class OficinaActivity(activity.Activity):
# setting scrolledwindow as activity canvas...
self.set_canvas(sw)
- # Setting a default tool
- self._area.tool = 'pencil'
+# # Setting a default tool
+# initial_tool = {
+# 'name' : 'pencil',
+# 'line size' : 2,
+# 'fill color' : None,
+# 'stroke color' : None,
+# 'line shape' : 'circle',
+# 'fill' : True,
+# 'vertices' : None
+# }
+# self._area.set_tool(initial_tool)
def read_file(self, file_path):
'''Read file from Sugar Journal.