diff options
author | Manuel QuiƱones <manuq@laptop.org> | 2013-05-16 20:08:09 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@localhost.localdomain> | 2013-06-03 19:07:02 (GMT) |
commit | 216a62c9065a4b88f82ade873c02c20bd49ddfeb (patch) | |
tree | fe851b2a0b6b0bdaaaf12a72a86b56628d348d14 /ImageViewerActivity.py | |
parent | 0554f844bc42a1525ba1792ea8c5a194b08c226f (diff) |
Implement custom scrollable, part one
Update the scrollbars considering the view.
Activating the scrollbars not implemented yet.
Diffstat (limited to 'ImageViewerActivity.py')
-rw-r--r-- | ImageViewerActivity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ImageViewerActivity.py b/ImageViewerActivity.py index a72642e..e611dff 100644 --- a/ImageViewerActivity.py +++ b/ImageViewerActivity.py @@ -127,7 +127,7 @@ class ImageViewerActivity(activity.Activity): self.view.add_events(Gdk.EventMask.TOUCH_MASK) self._touch_hid = self.view.connect('touch-event', self.__touch_event_cb) - self.scrolled_window.add_with_viewport(self.view) + self.scrolled_window.add(self.view) self.view.show() if GESTURES_AVAILABLE: |