[gnome-documents] Use automatic page layout
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] Use automatic page layout
- Date: Fri, 11 Jan 2013 14:48:29 +0000 (UTC)
commit 48d3fcc56eb14346d867afb354310365ca755c6d
Author: William Jon McCann <jmccann redhat com>
Date: Tue Jan 8 16:01:22 2013 -0500
Use automatic page layout
src/embed.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 272600f..92432b3 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -484,6 +484,7 @@ const Embed = new Lang.Class({
_onLoadFinished: function(manager, doc, docModel) {
docModel.set_sizing_mode(EvView.SizingMode.AUTOMATIC);
+ docModel.set_page_layout(EvView.PageLayout.AUTOMATIC);
this._toolbar.setModel(docModel);
this._preview.setModel(docModel);
this._preview.widget.grab_focus();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]