Remember print dir and reuse when printing again. Bug 713573.

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Save config object as a class field, use that to
  get and set the print directory when printing. Also set the default
  print filename based on the email's subject.
This commit is contained in:
Michael James Gratton 2017-02-24 11:49:05 +11:00
parent a20cb240a3
commit 7787af3aac
3 changed files with 42 additions and 1 deletions

View file

@ -2,6 +2,12 @@
<schema id="org.gnome.Geary" path="/org/gnome/Geary/">
<key name="print-directory" type="s">
<default>''</default>
<summary>Default print output directory</summary>
<description>Location used when printing to a file</description>
</key>
<key name="window-maximize" type="b">
<default>false</default>
<summary>maximize window</summary>
@ -121,6 +127,7 @@
<summary>Whether we migrated the old settings</summary>
<description>False to check for the old 'org.yorba.geary'-schema and copy its values</description>
</key>
</schema>
</schemalist>