diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-01-10 20:52:31 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-01-10 20:52:31 (GMT) |
commit | 6ae931ab53948efee0372ce9b949c8ba219ddef4 (patch) | |
tree | 25fb16657cc5664de107da1bb4050f32f9284acc | |
parent | 141fa0e352739dbc2e30627fee660479b854c5b7 (diff) |
Adjust page to screen width.
-rw-r--r-- | XbookActivity.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/XbookActivity.py b/XbookActivity.py index 94c953d..5943929 100644 --- a/XbookActivity.py +++ b/XbookActivity.py @@ -35,11 +35,6 @@ class XbookActivity(Activity): if(command == 'open_document'): document = evince.factory_get_document('file://' + args[0]) self._evince_view.set_document(document) - - # FIXME: Hack for rendering in a fast way by having an integer scale factor. - self._evince_view.set_sizing_mode(2) - self._evince_view.set_zoom(2.0, False) - self._toolbar.set_document(document) return True |