Commit fe42dcce authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[shell] Add an action to edit menu to save current settings as default

Default settings will be used only for new documents that don't have
metadata. Fixes bug #620325.
parent c54c1daa
......@@ -27,6 +27,8 @@
<menuitem name="EditRotateRightMenu" action="EditRotateRight"/>
<separator/>
<menuitem name="EditToolbarMenu" action="EditToolbar"/>
<separator/>
<menuitem name="EditSaveSettingsMenu" action="EditSaveSettings"/>
</menu>
<menu name="ViewMenu" action="View">
......
<schemalist>
<enum id="org.gnome.Evince.SizingMode">
<value nick="best-fit" value="0"/>
<value nick="fit-width" value="1"/>
<value nick="free" value="2"/>
</enum>
<schema id="org.gnome.Evince" path="/apps/evince/" gettext-domain="evince">
<key name="override-restrictions" type="b">
<default>true</default>
......@@ -18,6 +25,27 @@
<key name="window-ratio" type="(dd)">
<default>(0., 0.)</default>
</key>
<key name="sizing-mode" enum="org.gnome.Evince.SizingMode">
<default>'fit-width'</default>
</key>
<key name="inverted-colors" type="b">
<default>false</default>
</key>
<key name="continuous" type="b">
<default>true</default>
</key>
<key name="dual-page" type="b">
<default>false</default>
</key>
<key name="fullscreen" type="b">
<default>false</default>
</key>
<key name="sidebar-page" type="s">
<default>'links'</default>
</key>
<key name="sidebar-size" type="i">
<default>132</default>
</key>
</schema>
</schemalist>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment