Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/OficinaActivity.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-03-08 17:48:55 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-03-08 17:48:55 (GMT)
commitf52a23ff1d26985ffd1aea0ab45b387a8957cbb3 (patch)
tree74cc64cabc30f4a3b723cf40cdbfa1f82e1b40a8 /OficinaActivity.py
parent76194c87e2fa9bbd6d3b089300ff8ffa9bfdff98 (diff)
Show the canvas without the scrollbars by default
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'OficinaActivity.py')
-rw-r--r--OficinaActivity.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/OficinaActivity.py b/OficinaActivity.py
index db2df9f..bc87a95 100644
--- a/OficinaActivity.py
+++ b/OficinaActivity.py
@@ -119,6 +119,9 @@ class OficinaActivity(activity.Activity):
self.center_area()
self.canvas.add_with_viewport(self.fixed)
+ # to remove the border, we need set the shadowtype
+ # in the viewport child of the scrolledwindow
+ self.canvas.get_children()[0].set_shadow_type(gtk.SHADOW_NONE)
self.disconnect(self._setup_handle)
self._setup_handle = self.fixed.connect('size_allocate',
size_allocate_cb)