Hello community,

here is the log from the commit of package quilter for openSUSE:Factory checked 
in at 2018-03-26 13:16:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quilter (Old)
 and      /work/SRC/openSUSE:Factory/.quilter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quilter"

Mon Mar 26 13:16:32 2018 rev:6 rq:590889 version:1.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/quilter/quilter.changes  2018-02-24 
16:39:15.337717031 +0100
+++ /work/SRC/openSUSE:Factory/.quilter.new/quilter.changes     2018-03-26 
13:16:42.819898150 +0200
@@ -1,0 +2,22 @@
+Sun Mar 25 04:19:44 UTC 2018 - [email protected]
+
+- Update to version 1.5.4:
+  * Fix appdata.
+- Changes from version 1.5.3:
+  * Preview Mode won't load rogue Javascript code.
+  * Preview Mode will also not autojump to the start of the scroll
+    at any time.
+  * Header becomes Heading in the Cheatsheet.
+  * Fixed the Unsaved changes dialog still killing files when
+    pressing the New File button.
+  * Updated translations.
+- Only run post[un] scripts for openSUSE < 1500; for later
+  versions rpm file triggers take care of these already.
+
+-------------------------------------------------------------------
+Fri Feb 23 15:41:32 UTC 2018 - [email protected]
+
+- Update to 1.5.2:
+  * The Headerbar respects the global theme
+
+-------------------------------------------------------------------

Old:
----
  quilter-1.5.1.tar.gz

New:
----
  quilter-1.5.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ quilter.spec ++++++
--- /var/tmp/diff_new_pack.deQmv3/_old  2018-03-26 13:16:44.687830967 +0200
+++ /var/tmp/diff_new_pack.deQmv3/_new  2018-03-26 13:16:44.691830823 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package quilter
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:           quilter
-Version:        1.5.1
+Version:        1.5.4
 Release:        0
 Summary:        Writing application
-License:        GPL-3.0
+License:        GPL-3.0-only
 Group:          Productivity/Office/Word Processor
-URL:            https://github.com/lainsce/quilter
+Url:            https://github.com/lainsce/quilter
 Source:         
https://github.com/lainsce/quilter/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
@@ -81,6 +81,7 @@
 %find_lang com.github.lainsce.quilter %{name}.lang
 %fdupes %{buildroot}/%{_datadir}
 
+%if 0%{?suse_version} < 1500
 %post
 %desktop_database_post
 %icon_theme_cache_post
@@ -90,6 +91,7 @@
 %desktop_database_postun
 %icon_theme_cache_postun
 %glib2_gsettings_schema_postun
+%endif
 
 %files -f dir.lst
 %doc AUTHORS LICENSE README.md

++++++ quilter-1.5.1.tar.gz -> quilter-1.5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/quilter-1.5.1/data/com.github.lainsce.quilter.appdata.xml 
new/quilter-1.5.4/data/com.github.lainsce.quilter.appdata.xml
--- old/quilter-1.5.1/data/com.github.lainsce.quilter.appdata.xml       
2018-02-11 00:35:28.000000000 +0100
+++ new/quilter-1.5.4/data/com.github.lainsce.quilter.appdata.xml       
2018-03-18 09:59:58.000000000 +0100
@@ -24,9 +24,29 @@
     <url type="homepage">https://github.com/lainsce/quilter/</url>
     <url type="bugtracker">https://github.com/lainsce/quilter/issues</url>
     <releases>
+        <release version="1.5.3" date="2018-02-18">
+           <description>
+               <p>Release: All-Around An Inker!</p>
+               <ul>
+                   <li>Preview Mode won't load rogue Javascript code.</li>
+                   <li>Preview Mode will also not autojump to the start of the 
scroll at any time.</li>
+                   <li>Header becomes Heading in the Cheatsheet.</li>
+                   <li>Fixed the Unsaved changes dialog still killing files 
when pressing the New File button.</li>
+                   <li>New Translations for: Dutch, Catalan &amp; Spanish.</li>
+               </ul>
+           </description>
+        </release>
+        <release version="1.5.2" date="2018-02-18">
+           <description>
+               <p>Release: Visual Standardization</p>
+               <ul>
+                   <li>The headerbar now respects the global theme in Normal 
and Dark modes.</li>
+               </ul>
+           </description>
+        </release>
         <release version="1.5.0" date="2018-02-10">
            <description>
-               <p>Release: New Sheets Won't Crumple Old Ones</p>
+               <p>Release: New Sheets Won't Crumple Old Ones, part 2</p>
                <ul>
                    <li>The New File button will not purge old files.</li>
                </ul>
@@ -34,7 +54,7 @@
         </release>
         <release version="1.4.9" date="2018-02-02">
            <description>
-               <p>Release: ???</p>
+               <p>Release: New Sheets Won't Crumple Old Ones, part 1</p>
                <ul>
                    <li>The autosave switch in preferences now saves its last 
state.</li>
                    <li>Fixed the changing of type of focus mode 
highlighting.</li>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/quilter-1.5.1/data/com.github.lainsce.quilter.desktop 
new/quilter-1.5.4/data/com.github.lainsce.quilter.desktop
--- old/quilter-1.5.1/data/com.github.lainsce.quilter.desktop   2018-02-11 
00:35:28.000000000 +0100
+++ new/quilter-1.5.4/data/com.github.lainsce.quilter.desktop   2018-03-18 
09:59:58.000000000 +0100
@@ -1,9 +1,10 @@
 [Desktop Entry]
 Name=Quilter
 Comment=Focus on your writing
-Comment[pt_BR]=Foque na sua escrita
-Comment[es]=Foque en su escritura
+Comment[ca]=Concentreu-vos en la vostra escriptura
+Comment[es]=Concéntrese en su escritura
 Comment[pl]=Skup się na pisaniu
+Comment[pt_BR]=Foque-se na sua escrita
 Exec=com.github.lainsce.quilter %U
 Icon=com.github.lainsce.quilter
 Keywords=Text;Markdown;Editor;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/data/styles/app-stylesheet-dark.css 
new/quilter-1.5.4/data/styles/app-stylesheet-dark.css
--- old/quilter-1.5.1/data/styles/app-stylesheet-dark.css       2018-02-11 
00:35:28.000000000 +0100
+++ new/quilter-1.5.4/data/styles/app-stylesheet-dark.css       2018-03-18 
09:59:58.000000000 +0100
@@ -1,11 +1,6 @@
 @define-color colorPrimary #2f3337;
 @define-color textColorPrimary shade (@text_color, 0.9);
 
-.quilter-toolbar {
-    background-color: @colorPrimary;
-    color: @textColorPrimary;
-}
-
 actionbar,
 .action-bar {
     border-top-color: transparent;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/data/styles/app-stylesheet.css 
new/quilter-1.5.4/data/styles/app-stylesheet.css
--- old/quilter-1.5.1/data/styles/app-stylesheet.css    2018-02-11 
00:35:28.000000000 +0100
+++ new/quilter-1.5.4/data/styles/app-stylesheet.css    2018-03-18 
09:59:58.000000000 +0100
@@ -1,11 +1,6 @@
 @define-color colorPrimary #F5F5F5;
 @define-color textColorPrimary shade (@colorPrimary, 0.1);
 
-.quilter-toolbar {
-    background-color: @colorPrimary;
-    color: @textColorPrimary;
-}
-
 actionbar,
 .action-bar {
     border-top-color: transparent;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/debian/changelog 
new/quilter-1.5.4/debian/changelog
--- old/quilter-1.5.1/debian/changelog  2018-02-11 00:35:28.000000000 +0100
+++ new/quilter-1.5.4/debian/changelog  2018-03-18 09:59:58.000000000 +0100
@@ -1,3 +1,18 @@
+com.github.lainsce.quilter (1.5.3) xenial; urgency=low
+
+  * Preview Mode won't load rogue Javascript code.
+  * Preview Mode will also not autojump to the start of the scroll at any time.
+  * Header becomes Heading in the Cheatsheet.
+  * Fixed the Unsaved changes dialog still killing files when pressing the New 
File button.
+
+ -- Lains <[email protected]>  Sun, 18 Mar 2018 15:34:00 -0300
+
+com.github.lainsce.quilter (1.5.2) xenial; urgency=low
+
+  * The Headerbar respects the global theme.
+
+ -- Lains <[email protected]>  Sat, 17 Feb 2018 23:50:00 -0300
+
 com.github.lainsce.quilter (1.5.0) xenial; urgency=low
 
   * New File button will not nuke any files now.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/meson.build 
new/quilter-1.5.4/meson.build
--- old/quilter-1.5.1/meson.build       2018-02-11 00:35:28.000000000 +0100
+++ new/quilter-1.5.4/meson.build       2018-03-18 09:59:58.000000000 +0100
@@ -1,6 +1,6 @@
 # Name our project
 project('com.github.lainsce.quilter', ['vala', 'c'],
-    version: '1.5.0'
+    version: '1.5.3'
 )
 
 # Import main lib files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/po/LINGUAS new/quilter-1.5.4/po/LINGUAS
--- old/quilter-1.5.1/po/LINGUAS        2018-02-11 00:35:28.000000000 +0100
+++ new/quilter-1.5.4/po/LINGUAS        2018-03-18 09:59:58.000000000 +0100
@@ -3,3 +3,5 @@
 it
 de
 pl
+nl_NL
+ca
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/po/ca.po new/quilter-1.5.4/po/ca.po
--- old/quilter-1.5.1/po/ca.po  1970-01-01 01:00:00.000000000 +0100
+++ new/quilter-1.5.4/po/ca.po  2018-03-18 09:59:58.000000000 +0100
@@ -0,0 +1,292 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the 
com.github.lainsce.quilter package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.quilter\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-15 17:16-0200\n"
+"PO-Revision-Date: 2018-03-17 15:54-0600\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.6\n"
+"Last-Translator: Adolfo Jayme Barrientos <[email protected]>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: ca\n"
+
+#: src/MainWindow.vala:70
+msgid "Quilter"
+msgstr "Quilter"
+
+#: src/MainWindow.vala:168
+msgid "New file"
+msgstr "Fitxer nou"
+
+#: src/MainWindow.vala:176
+msgid "Save as…"
+msgstr "Anomena i desa…"
+
+#: src/MainWindow.vala:190 src/Services/DialogUtils.vala:63
+msgid "Save file"
+msgstr "Desa el fitxer"
+
+#: src/MainWindow.vala:204
+msgid "Open…"
+msgstr "Obre…"
+
+#: src/MainWindow.vala:217
+msgid "Settings"
+msgstr "Paràmetres"
+
+#: src/MainWindow.vala:221
+msgid "Markdown Cheatsheet"
+msgstr "Ús del Markdown"
+
+#: src/MainWindow.vala:228 src/Widgets/Preferences.vala:29
+msgid "Preferences"
+msgstr "Preferències"
+
+#: src/MainWindow.vala:255
+msgid "Edit"
+msgstr "Edita"
+
+#: src/MainWindow.vala:256
+msgid "Preview"
+msgstr "Previsualitza"
+
+#: src/Widgets/StatusBar.vala:51
+msgid "Words: "
+msgstr "Paraules: "
+
+#: src/Widgets/StatusBar.vala:64
+msgid "Reading Time: "
+msgstr "Temps de lectura: "
+
+#: src/Widgets/StatusBar.vala:68
+msgid "Dark Mode"
+msgstr "Mode fosc"
+
+#: src/Widgets/StatusBar.vala:92
+msgid "Focus Mode"
+msgstr "Mode de concentració"
+
+#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:67
+msgid "Editor"
+msgstr "Editor"
+
+#: src/Widgets/Preferences.vala:48 src/Widgets/Preferences.vala:177
+msgid "Interface"
+msgstr "Interfície"
+
+#. Close button
+#: src/Widgets/Preferences.vala:50 src/Widgets/Cheatsheet.vala:51
+msgid "Close"
+msgstr "Tanca"
+
+#: src/Widgets/Preferences.vala:69
+msgid "Show Line Numbers:"
+msgstr "Mostra els números de línia"
+
+#: src/Widgets/Preferences.vala:71
+msgid "Enable Spellchecking:"
+msgstr "Habilita el corrector ortogràfic:"
+
+#: src/Widgets/Preferences.vala:75
+msgid "Geometry"
+msgstr "Geometria"
+
+#: src/Widgets/Preferences.vala:76
+msgid "Spacing of Text:"
+msgstr "Espaiat del text:"
+
+#: src/Widgets/Preferences.vala:78 src/Widgets/Preferences.vala:118
+msgid "Small"
+msgstr "Petit"
+
+#: src/Widgets/Preferences.vala:79 src/Widgets/Preferences.vala:119
+msgid "Normal"
+msgstr "Normal"
+
+#: src/Widgets/Preferences.vala:80 src/Widgets/Preferences.vala:120
+msgid "Large"
+msgstr "Gran"
+
+#: src/Widgets/Preferences.vala:116
+msgid "Margins of Text:"
+msgstr "Marges del text:"
+
+#: src/Widgets/Preferences.vala:178
+msgid "Show the Save Button:"
+msgstr "Mostra el botó Desa:"
+
+#: src/Widgets/Preferences.vala:181
+msgid "Mode"
+msgstr "Mode"
+
+#: src/Widgets/Preferences.vala:182
+msgid "Enable Focus Mode:"
+msgstr "Habilita el mode de concentració:"
+
+#: src/Widgets/Preferences.vala:184
+msgid "Enable Dark Mode:"
+msgstr "Habilita el mode fosc:"
+
+#: src/Widgets/Preferences.vala:187
+msgid "Font"
+msgstr "Tipus de lletra"
+
+#: src/Widgets/Preferences.vala:188
+msgid "Custom font:"
+msgstr "Tipus de lletra personalitzat:"
+
+#: src/Widgets/Preferences.vala:198
+msgid "Statusbar"
+msgstr "Barra d’estat"
+
+#: src/Widgets/Preferences.vala:199
+msgid "Show Statusbar:"
+msgstr "Mostra la barra d’estat:"
+
+#: src/Widgets/Cheatsheet.vala:28
+msgid "Cheatsheet"
+msgstr "Ús"
+
+#: src/Widgets/Cheatsheet.vala:46
+msgid "Text"
+msgstr "Text"
+
+#: src/Widgets/Cheatsheet.vala:47
+msgid "Links & Special"
+msgstr "Enllaços i text especial"
+
+#: src/Widgets/Cheatsheet.vala:48 src/Widgets/Cheatsheet.vala:137
+msgid "Tables"
+msgstr "Taules"
+
+#: src/Widgets/Cheatsheet.vala:79
+msgid "Header"
+msgstr "Encapçalament"
+
+#: src/Widgets/Cheatsheet.vala:80
+msgid "# Header 1"
+msgstr "# Encapçalament 1"
+
+#: src/Widgets/Cheatsheet.vala:81
+msgid "## Header 2"
+msgstr "## Encapçalament 2"
+
+#: src/Widgets/Cheatsheet.vala:82
+msgid "### Header 3"
+msgstr "### Encapçalament 3"
+
+#: src/Widgets/Cheatsheet.vala:83
+msgid "#### Header 4"
+msgstr "#### Encapçalament 4"
+
+#: src/Widgets/Cheatsheet.vala:84
+msgid "##### Header 5"
+msgstr "##### Encapçalament 5"
+
+#: src/Widgets/Cheatsheet.vala:85
+msgid "###### Header 6"
+msgstr "###### Encapçalament 6"
+
+#: src/Widgets/Cheatsheet.vala:86
+msgid "Special Text"
+msgstr "Text especial"
+
+#: src/Widgets/Cheatsheet.vala:87
+msgid "** Bold text **"
+msgstr "** Text en negreta **"
+
+#: src/Widgets/Cheatsheet.vala:88
+msgid "* Emphasized text *"
+msgstr "* Text emfasitzat *"
+
+#: src/Widgets/Cheatsheet.vala:89
+msgid "` Code text `"
+msgstr "` Text de codi `"
+
+#: src/Widgets/Cheatsheet.vala:90
+msgid "> Quoting text"
+msgstr "> Text de citació"
+
+#: src/Widgets/Cheatsheet.vala:91
+msgid "~~Strikethrough text~~"
+msgstr "~~Text ratllat~~"
+
+#: src/Widgets/Cheatsheet.vala:115
+msgid "Links"
+msgstr "Enllaços"
+
+#: src/Widgets/Cheatsheet.vala:116
+msgid "[Link Label](http://link.url.here.com)"
+msgstr "[Etiqueta de l’enllaç](http://url.del.lloc.com)"
+
+#: src/Widgets/Cheatsheet.vala:117
+msgid "![Image Label](http://image.url.here.com)"
+msgstr "![Etiqueta de la imatge](http://url.de.la.imatge.com)"
+
+#: src/Widgets/Cheatsheet.vala:118
+msgid "Special"
+msgstr "Especial"
+
+#: src/Widgets/Cheatsheet.vala:119
+msgid "```This is a code block```"
+msgstr "```Aquest és un bloc de codi```"
+
+#: src/Widgets/Cheatsheet.vala:120
+msgid "--- ← This creates an horizontal rule"
+msgstr "--- ← Aquest crea una línia horitzontal"
+
+#: src/Widgets/Cheatsheet.vala:139
+msgid "To make a column's content go to the left, change --- to :--- ."
+msgstr "Per a fer que el contingut d’una columna s’aliniï a l’esquerra, 
canvieu «---» a «:---»."
+
+#: src/Widgets/Cheatsheet.vala:140
+msgid "To make a column's content centered, change --- to :---: ."
+msgstr "Per a fer que el contingut d’una columna es centri, canvieu «---» a 
«:---:»."
+
+#: src/Widgets/Cheatsheet.vala:141
+msgid "To make a column's content go to the right, change --- to ---: ."
+msgstr "Per a fer que el contingut d’una columna s’aliniï a la dreta, canvieu 
«---» a «---:»."
+
+#: src/Services/DialogUtils.vala:38
+msgid "Markdown files"
+msgstr "Fitxers Markdown"
+
+#: src/Services/DialogUtils.vala:43
+msgid "All files"
+msgstr "Tots els fitxers"
+
+#: src/Services/DialogUtils.vala:51
+msgid "Open file"
+msgstr "Obre un fitxer"
+
+#: src/Services/DialogUtils.vala:77
+msgid "There are unsaved changes to the file. Do you want to save?"
+msgstr "Hi ha canvis sense desar en aquest fitxer. Voleu desar-los?"
+
+#: src/Services/DialogUtils.vala:78
+msgid "If you don't save, changes will be lost forever."
+msgstr "Si no els deseu, els canvis es perdran permanentment."
+
+#: src/Services/DialogUtils.vala:83
+msgid "Close without saving"
+msgstr "Tanca sense desar"
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr "Tipus de mode de concentració:"
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr "Oració"
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr "Paràgraf"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/po/com.github.lainsce.quilter.pot 
new/quilter-1.5.4/po/com.github.lainsce.quilter.pot
--- old/quilter-1.5.1/po/com.github.lainsce.quilter.pot 2018-02-11 
00:35:28.000000000 +0100
+++ new/quilter-1.5.4/po/com.github.lainsce.quilter.pot 2018-03-18 
09:59:58.000000000 +0100
@@ -167,31 +167,31 @@
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:79
-msgid "Header"
+msgid "Heading"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:80
-msgid "# Header 1"
+msgid "# Heading 1"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:81
-msgid "## Header 2"
+msgid "## Heading 2"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:82
-msgid "### Header 3"
+msgid "### Heading 3"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:83
-msgid "#### Header 4"
+msgid "#### Heading 4"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:84
-msgid "##### Header 5"
+msgid "##### Heading 5"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:85
-msgid "###### Header 6"
+msgid "###### Heading 6"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:86
@@ -239,7 +239,7 @@
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:120
-msgid "--- ← This creates an horizontal rule"
+msgid "--- ← This creates a horizontal rule"
 msgstr ""
 
 #: src/Widgets/Cheatsheet.vala:139
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/po/es.po new/quilter-1.5.4/po/es.po
--- old/quilter-1.5.1/po/es.po  2018-02-11 00:35:28.000000000 +0100
+++ new/quilter-1.5.4/po/es.po  2018-03-18 09:59:58.000000000 +0100
@@ -3,12 +3,14 @@
 "Project-Id-Version: com.github.lainsce.quilter\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-11-15 17:16-0200\n"
-"PO-Revision-Date: 2017-10-01 9:00+PST\n"
-"Last-Translator: Felipe Escoto <[email protected]>\n"
+"PO-Revision-Date: 2018-03-17 15:16-0600\n"
+"Last-Translator: Adolfo Jayme Barrientos <[email protected]>\n"
+"Language-Team: \n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.6\n"
 
 #: src/MainWindow.vala:70
 msgid "Quilter"
@@ -16,7 +18,7 @@
 
 #: src/MainWindow.vala:168
 msgid "New file"
-msgstr "Nuevo Archivo"
+msgstr "Archivo nuevo"
 
 #: src/MainWindow.vala:176
 msgid "Save as…"
@@ -24,7 +26,7 @@
 
 #: src/MainWindow.vala:190 src/Services/DialogUtils.vala:63
 msgid "Save file"
-msgstr "Guardar archivo"
+msgstr "Guardar el archivo"
 
 #: src/MainWindow.vala:204
 msgid "Open…"
@@ -32,11 +34,11 @@
 
 #: src/MainWindow.vala:217
 msgid "Settings"
-msgstr "Ajustes"
+msgstr "Configuración"
 
 #: src/MainWindow.vala:221
 msgid "Markdown Cheatsheet"
-msgstr "Claves de Markdown"
+msgstr "Uso de Markdown"
 
 #: src/MainWindow.vala:228 src/Widgets/Preferences.vala:29
 msgid "Preferences"
@@ -48,7 +50,7 @@
 
 #: src/MainWindow.vala:256
 msgid "Preview"
-msgstr "Vista"
+msgstr "Previsualización"
 
 #: src/Widgets/StatusBar.vala:51
 msgid "Words: "
@@ -56,17 +58,17 @@
 
 #: src/Widgets/StatusBar.vala:64
 msgid "Reading Time: "
-msgstr "Tiempo de Lectura: "
+msgstr "Tiempo de lectura: "
 
 #: src/Widgets/StatusBar.vala:68
 msgid "Dark Mode"
-msgstr "Modo Obscuro"
+msgstr "Modo oscuro"
 
 #: src/Widgets/StatusBar.vala:92
 msgid "Focus Mode"
-msgstr "Modo Foco"
+msgstr "Modo de concentración"
 
-#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:68
+#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:67
 msgid "Editor"
 msgstr "Editor"
 
@@ -81,20 +83,19 @@
 
 #: src/Widgets/Preferences.vala:69
 msgid "Show Line Numbers:"
-msgstr "Mostrar Número de las Lineas:"
+msgstr "Mostrar los números de renglones:"
 
 #: src/Widgets/Preferences.vala:71
 msgid "Enable Spellchecking:"
-msgstr "Habilitar Autocorrector"
+msgstr "Activar el corrector ortográfico:"
 
 #: src/Widgets/Preferences.vala:75
 msgid "Geometry"
 msgstr "Geometría"
 
 #: src/Widgets/Preferences.vala:76
-#, fuzzy
 msgid "Spacing of Text:"
-msgstr "Texto Especial"
+msgstr "Espaciado del texto:"
 
 #: src/Widgets/Preferences.vala:78 src/Widgets/Preferences.vala:118
 msgid "Small"
@@ -106,48 +107,47 @@
 
 #: src/Widgets/Preferences.vala:80 src/Widgets/Preferences.vala:120
 msgid "Large"
-msgstr "Largo"
+msgstr "Grande"
 
 #: src/Widgets/Preferences.vala:116
 msgid "Margins of Text:"
-msgstr "Margens del Texto:"
+msgstr "Márgenes del texto:"
 
 #: src/Widgets/Preferences.vala:178
 msgid "Show the Save Button:"
-msgstr "Mostrar el Botón De Guardar"
+msgstr "Mostrar el botón Guardar:"
 
 #: src/Widgets/Preferences.vala:181
-#, fuzzy
 msgid "Mode"
-msgstr "Modo Obscuro"
+msgstr "Modo"
 
 #: src/Widgets/Preferences.vala:182
 msgid "Enable Focus Mode:"
-msgstr "Habilitar Modo Foco"
+msgstr "Activar el modo de concentración:"
 
 #: src/Widgets/Preferences.vala:184
 msgid "Enable Dark Mode:"
-msgstr "Habilitar Modo Obscuro"
+msgstr "Activar el modo oscuro:"
 
 #: src/Widgets/Preferences.vala:187
 msgid "Font"
-msgstr "Fuente"
+msgstr "Tipo de letra"
 
 #: src/Widgets/Preferences.vala:188
 msgid "Custom font:"
-msgstr "Fuente personalizada"
+msgstr "Tipo de letra personalizado:"
 
 #: src/Widgets/Preferences.vala:198
 msgid "Statusbar"
-msgstr "Barra del Estado"
+msgstr "Barra de estado"
 
 #: src/Widgets/Preferences.vala:199
 msgid "Show Statusbar:"
-msgstr "Mostrar la Barra del Estado:"
+msgstr "Mostrar la barra de estado:"
 
 #: src/Widgets/Cheatsheet.vala:28
 msgid "Cheatsheet"
-msgstr "Claves"
+msgstr "Uso"
 
 #: src/Widgets/Cheatsheet.vala:46
 msgid "Text"
@@ -155,7 +155,7 @@
 
 #: src/Widgets/Cheatsheet.vala:47
 msgid "Links & Special"
-msgstr "Links y Especial"
+msgstr "Enlaces y texto especial"
 
 #: src/Widgets/Cheatsheet.vala:48 src/Widgets/Cheatsheet.vala:137
 msgid "Tables"
@@ -163,35 +163,35 @@
 
 #: src/Widgets/Cheatsheet.vala:79
 msgid "Header"
-msgstr "Titulos"
+msgstr "Títulos"
 
 #: src/Widgets/Cheatsheet.vala:80
 msgid "# Header 1"
-msgstr "# Titulo 1"
+msgstr "# Título 1"
 
 #: src/Widgets/Cheatsheet.vala:81
 msgid "## Header 2"
-msgstr "## Titulo 2"
+msgstr "## Título 2"
 
 #: src/Widgets/Cheatsheet.vala:82
 msgid "### Header 3"
-msgstr "### Titulo 3"
+msgstr "### Título 3"
 
 #: src/Widgets/Cheatsheet.vala:83
 msgid "#### Header 4"
-msgstr "#### Titulo 4"
+msgstr "#### Título 4"
 
 #: src/Widgets/Cheatsheet.vala:84
 msgid "##### Header 5"
-msgstr "##### Titulo 6"
+msgstr "##### Título 5"
 
 #: src/Widgets/Cheatsheet.vala:85
 msgid "###### Header 6"
-msgstr "###### Titulo 6"
+msgstr "###### Título 6"
 
 #: src/Widgets/Cheatsheet.vala:86
 msgid "Special Text"
-msgstr "Texto Especial"
+msgstr "Texto especial"
 
 #: src/Widgets/Cheatsheet.vala:87
 msgid "** Bold text **"
@@ -215,15 +215,15 @@
 
 #: src/Widgets/Cheatsheet.vala:115
 msgid "Links"
-msgstr "Links"
+msgstr "Enlaces"
 
 #: src/Widgets/Cheatsheet.vala:116
 msgid "[Link Label](http://link.url.here.com)"
-msgstr "[Texto](http://tu-link.com)"
+msgstr "[Etiqueta del enlace](http://su-enlace.com)"
 
 #: src/Widgets/Cheatsheet.vala:117
 msgid "![Image Label](http://image.url.here.com)"
-msgstr "![Titulo de Imagen](http://tu-imagen.com)"
+msgstr "![Etiqueta de la imagen](http://su-imagen.com)"
 
 #: src/Widgets/Cheatsheet.vala:118
 msgid "Special"
@@ -235,21 +235,19 @@
 
 #: src/Widgets/Cheatsheet.vala:120
 msgid "--- ← This creates an horizontal rule"
-msgstr "--- ← Linea Horizontal"
+msgstr "--- ← Línea horizontal"
 
 #: src/Widgets/Cheatsheet.vala:139
 msgid "To make a column's content go to the left, change --- to :--- ."
-msgstr ""
-"Para mover el contenido de la columna a la izquierda, cambiar --- a :--- ."
+msgstr "Para mover el contenido de una columna a la izquierda, cambie «---» a 
«:---»."
 
 #: src/Widgets/Cheatsheet.vala:140
 msgid "To make a column's content centered, change --- to :---: ."
-msgstr "Para centrar el contenido de la columna, cambiar --- a :---: ."
+msgstr "Para centrar el contenido de la columna, cambie «---» a «:---:»."
 
 #: src/Widgets/Cheatsheet.vala:141
 msgid "To make a column's content go to the right, change --- to ---: ."
-msgstr ""
-"Para mover el contenido de la columna a la derecha, cambiar --- a ---: ."
+msgstr "Para mover el contenido de la columna a la derecha, cambie «---» a 
«---:»."
 
 #: src/Services/DialogUtils.vala:38
 msgid "Markdown files"
@@ -257,19 +255,19 @@
 
 #: src/Services/DialogUtils.vala:43
 msgid "All files"
-msgstr "Todos los Archivos"
+msgstr "Todos los archivos"
 
 #: src/Services/DialogUtils.vala:51
 msgid "Open file"
-msgstr "Abrir archivo"
+msgstr "Abrir un archivo"
 
 #: src/Services/DialogUtils.vala:77
 msgid "There are unsaved changes to the file. Do you want to save?"
-msgstr "Hay cambios sin guardar a tu archivo. Deseas guardar?"
+msgstr "Hay cambios en el archivo que no se han guardado. ¿Quiere guardarlos?"
 
 #: src/Services/DialogUtils.vala:78
 msgid "If you don't save, changes will be lost forever."
-msgstr "Si no lo guardas, tus cambios se perderán"
+msgstr "Si no los guarda, los cambios se perderán permanentemente."
 
 #: src/Services/DialogUtils.vala:83
 msgid "Close without saving"
@@ -277,12 +275,12 @@
 
 #: src/Widgets/Preferences.vala:185
 msgid "Type of Focus Mode:"
-msgstr ""
+msgstr "Tipo de modo de concentración:"
 
 #: src/Widgets/Preferences.vala:187
 msgid "Sentence"
-msgstr ""
+msgstr "Oración"
 
 #: src/Widgets/Preferences.vala:188
 msgid "Paragraph"
-msgstr ""
+msgstr "Párrafo"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/po/nl_NL.po 
new/quilter-1.5.4/po/nl_NL.po
--- old/quilter-1.5.1/po/nl_NL.po       1970-01-01 01:00:00.000000000 +0100
+++ new/quilter-1.5.4/po/nl_NL.po       2018-03-18 09:59:58.000000000 +0100
@@ -0,0 +1,292 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the 
com.github.lainsce.quilter package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.quilter\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-15 17:16-0200\n"
+"PO-Revision-Date: 2018-02-25 17:34+0100\n"
+"Language-Team: Dutch - [email protected]\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.6\n"
+"Last-Translator: Heimen Stoffels <[email protected]>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: nl_NL\n"
+
+#: src/MainWindow.vala:70
+msgid "Quilter"
+msgstr "Quilter"
+
+#: src/MainWindow.vala:168
+msgid "New file"
+msgstr "Nieuw bestand"
+
+#: src/MainWindow.vala:176
+msgid "Save as…"
+msgstr "Opslaan als…"
+
+#: src/MainWindow.vala:190 src/Services/DialogUtils.vala:63
+msgid "Save file"
+msgstr "Bestand opslaan"
+
+#: src/MainWindow.vala:204
+msgid "Open…"
+msgstr "Openen…"
+
+#: src/MainWindow.vala:217
+msgid "Settings"
+msgstr "Instellingen"
+
+#: src/MainWindow.vala:221
+msgid "Markdown Cheatsheet"
+msgstr "Markdown-cheatsheet"
+
+#: src/MainWindow.vala:228 src/Widgets/Preferences.vala:29
+msgid "Preferences"
+msgstr "Voorkeuren"
+
+#: src/MainWindow.vala:255
+msgid "Edit"
+msgstr "Bewerken"
+
+#: src/MainWindow.vala:256
+msgid "Preview"
+msgstr "Voorbeeld"
+
+#: src/Widgets/StatusBar.vala:51
+msgid "Words: "
+msgstr "Woorden: "
+
+#: src/Widgets/StatusBar.vala:64
+msgid "Reading Time: "
+msgstr "Leestijd: "
+
+#: src/Widgets/StatusBar.vala:68
+msgid "Dark Mode"
+msgstr "Donkere modus"
+
+#: src/Widgets/StatusBar.vala:92
+msgid "Focus Mode"
+msgstr "Focusmodus"
+
+#: src/Widgets/Preferences.vala:47 src/Widgets/Preferences.vala:67
+msgid "Editor"
+msgstr "Bewerker"
+
+#: src/Widgets/Preferences.vala:48 src/Widgets/Preferences.vala:177
+msgid "Interface"
+msgstr "Uiterlijk"
+
+#. Close button
+#: src/Widgets/Preferences.vala:50 src/Widgets/Cheatsheet.vala:51
+msgid "Close"
+msgstr "Sluiten"
+
+#: src/Widgets/Preferences.vala:69
+msgid "Show Line Numbers:"
+msgstr "Regelnummers weergeven:"
+
+#: src/Widgets/Preferences.vala:71
+msgid "Enable Spellchecking:"
+msgstr "Spellingcontrole inschakelen:"
+
+#: src/Widgets/Preferences.vala:75
+msgid "Geometry"
+msgstr "Afmetingen"
+
+#: src/Widgets/Preferences.vala:76
+msgid "Spacing of Text:"
+msgstr "Spatiëring van tekst:"
+
+#: src/Widgets/Preferences.vala:78 src/Widgets/Preferences.vala:118
+msgid "Small"
+msgstr "Klein"
+
+#: src/Widgets/Preferences.vala:79 src/Widgets/Preferences.vala:119
+msgid "Normal"
+msgstr "Normaal"
+
+#: src/Widgets/Preferences.vala:80 src/Widgets/Preferences.vala:120
+msgid "Large"
+msgstr "Groot"
+
+#: src/Widgets/Preferences.vala:116
+msgid "Margins of Text:"
+msgstr "Tekstafmetingen:"
+
+#: src/Widgets/Preferences.vala:178
+msgid "Show the Save Button:"
+msgstr "Opslaan-knop weergeven:"
+
+#: src/Widgets/Preferences.vala:181
+msgid "Mode"
+msgstr "Modus"
+
+#: src/Widgets/Preferences.vala:182
+msgid "Enable Focus Mode:"
+msgstr "Focusmodus inschakelen:"
+
+#: src/Widgets/Preferences.vala:184
+msgid "Enable Dark Mode:"
+msgstr "Donkere modus inschakelen:"
+
+#: src/Widgets/Preferences.vala:187
+msgid "Font"
+msgstr "Lettertype"
+
+#: src/Widgets/Preferences.vala:188
+msgid "Custom font:"
+msgstr "Aangepast lettertype:"
+
+#: src/Widgets/Preferences.vala:198
+msgid "Statusbar"
+msgstr "Statusbalk"
+
+#: src/Widgets/Preferences.vala:199
+msgid "Show Statusbar:"
+msgstr "Statusbalk weergeven:"
+
+#: src/Widgets/Cheatsheet.vala:28
+msgid "Cheatsheet"
+msgstr "Cheatsheet"
+
+#: src/Widgets/Cheatsheet.vala:46
+msgid "Text"
+msgstr "Tekst"
+
+#: src/Widgets/Cheatsheet.vala:47
+msgid "Links & Special"
+msgstr "Links en speciale tekst"
+
+#: src/Widgets/Cheatsheet.vala:48 src/Widgets/Cheatsheet.vala:137
+msgid "Tables"
+msgstr "Tabellen"
+
+#: src/Widgets/Cheatsheet.vala:79
+msgid "Header"
+msgstr "Kop"
+
+#: src/Widgets/Cheatsheet.vala:80
+msgid "# Header 1"
+msgstr "# Kop 1"
+
+#: src/Widgets/Cheatsheet.vala:81
+msgid "## Header 2"
+msgstr "## Kop 2"
+
+#: src/Widgets/Cheatsheet.vala:82
+msgid "### Header 3"
+msgstr "### Kop 3"
+
+#: src/Widgets/Cheatsheet.vala:83
+msgid "#### Header 4"
+msgstr "#### Kop 4"
+
+#: src/Widgets/Cheatsheet.vala:84
+msgid "##### Header 5"
+msgstr "##### Kop 5"
+
+#: src/Widgets/Cheatsheet.vala:85
+msgid "###### Header 6"
+msgstr "###### Kop 6"
+
+#: src/Widgets/Cheatsheet.vala:86
+msgid "Special Text"
+msgstr "Speciale tekst"
+
+#: src/Widgets/Cheatsheet.vala:87
+msgid "** Bold text **"
+msgstr "** Vetgedrukte tekst **"
+
+#: src/Widgets/Cheatsheet.vala:88
+msgid "* Emphasized text *"
+msgstr "* Benadrukte tekst *"
+
+#: src/Widgets/Cheatsheet.vala:89
+msgid "` Code text `"
+msgstr "` Codetekst `"
+
+#: src/Widgets/Cheatsheet.vala:90
+msgid "> Quoting text"
+msgstr "> Geciteerde tekst"
+
+#: src/Widgets/Cheatsheet.vala:91
+msgid "~~Strikethrough text~~"
+msgstr "~~Doorgehaalde tekst~~"
+
+#: src/Widgets/Cheatsheet.vala:115
+msgid "Links"
+msgstr "Links"
+
+#: src/Widgets/Cheatsheet.vala:116
+msgid "[Link Label](http://link.url.here.com)"
+msgstr "[Link Label](http://link.url.hier.nl)"
+
+#: src/Widgets/Cheatsheet.vala:117
+msgid "![Image Label](http://image.url.here.com)"
+msgstr "![Image Label](http://afbeeldings.url.hier.nl)"
+
+#: src/Widgets/Cheatsheet.vala:118
+msgid "Special"
+msgstr "Speciale tekst"
+
+#: src/Widgets/Cheatsheet.vala:119
+msgid "```This is a code block```"
+msgstr "```Dit is een codeblok```"
+
+#: src/Widgets/Cheatsheet.vala:120
+msgid "--- ← This creates an horizontal rule"
+msgstr "--- ← Dit creëert een horizontale regel"
+
+#: src/Widgets/Cheatsheet.vala:139
+msgid "To make a column's content go to the left, change --- to :--- ."
+msgstr "Kolominhoud naar links verplaatsen: wijzig --- in :--- ."
+
+#: src/Widgets/Cheatsheet.vala:140
+msgid "To make a column's content centered, change --- to :---: ."
+msgstr "Kolominhoud centreren: wijzig --- in :---: ."
+
+#: src/Widgets/Cheatsheet.vala:141
+msgid "To make a column's content go to the right, change --- to ---: ."
+msgstr "Kolominhoud naar rechts verplaatsen: wijzig --- to ---: ."
+
+#: src/Services/DialogUtils.vala:38
+msgid "Markdown files"
+msgstr "Markdown-bestanden"
+
+#: src/Services/DialogUtils.vala:43
+msgid "All files"
+msgstr "Alle bestanden"
+
+#: src/Services/DialogUtils.vala:51
+msgid "Open file"
+msgstr "Bestand openen"
+
+#: src/Services/DialogUtils.vala:77
+msgid "There are unsaved changes to the file. Do you want to save?"
+msgstr "Er zijn niet-opgeslagen wijzigingen in het bestand. Wilt u deze nu 
opslaan?"
+
+#: src/Services/DialogUtils.vala:78
+msgid "If you don't save, changes will be lost forever."
+msgstr "Als u deze niet opslaat, dan gaan ze permanent verloren."
+
+#: src/Services/DialogUtils.vala:83
+msgid "Close without saving"
+msgstr "Sluiten zonder opslaan"
+
+#: src/Widgets/Preferences.vala:185
+msgid "Type of Focus Mode:"
+msgstr "Type focusmodus:"
+
+#: src/Widgets/Preferences.vala:187
+msgid "Sentence"
+msgstr "Zin"
+
+#: src/Widgets/Preferences.vala:188
+msgid "Paragraph"
+msgstr "Paragraaf"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/src/MainWindow.vala 
new/quilter-1.5.4/src/MainWindow.vala
--- old/quilter-1.5.1/src/MainWindow.vala       2018-02-11 00:35:28.000000000 
+0100
+++ new/quilter-1.5.4/src/MainWindow.vala       2018-03-18 09:59:58.000000000 
+0100
@@ -81,7 +81,6 @@
                     height_request: 800,
                     width_request: 900);
 
-            schedule_timer ();
             statusbar.update_wordcount ();
             statusbar.update_linecount ();
             statusbar.update_readtimecount ();
@@ -412,7 +411,7 @@
         }
 
         private void schedule_timer () {
-            if (!timer_scheduled) {
+            if (!timer_scheduled && edit_view_content.is_modified == true) {
                 Timeout.add (TIME_TO_REFRESH, render_func);
                 timer_scheduled = true;
             }
@@ -464,38 +463,60 @@
             debug ("New button pressed.");
             debug ("Buffer was modified. Asking user to save first.");
             var settings = AppSettings.get_default ();
+            var dialog = new Services.DialogUtils.Dialog.display_save_confirm 
(Application.window);
+            dialog.response.connect ((response_id) => {
+                switch (response_id) {
+                    case Gtk.ResponseType.YES:
+                        debug ("User saves the file.");
 
-            if (edit_view_content.is_modified) {
-                var dialog = new 
Services.DialogUtils.Dialog.display_save_confirm (Application.window);
-                var result = dialog.run ();
-                dialog.destroy ();
-
-                if (result == Gtk.ResponseType.CANCEL) {
-                    debug ("User cancelled, don't do anything.");
-                } else if (result == Gtk.ResponseType.YES) {
-                    debug ("User saves the file.");
-
-                    try {
-                        Services.FileManager.save ();
-                    } catch (Error e) {
-                        warning ("Unexpected error during save: " + e.message);
-                    }
-                } else if (result == Gtk.ResponseType.NO) {
-                    debug ("User doesn't care about the file, shoot it to 
space.");
+                        try {
+                            Services.FileManager.save ();
+                            string cache = Path.build_filename 
(Environment.get_user_cache_dir (), "com.github.lainsce.quilter" + "/temp");
+                            file = File.new_for_path (cache);
+                            Widgets.SourceView.buffer.text = "";
+                            toolbar.subtitle = "New Document";
+                            settings.last_file = file.get_path ();
+                            settings.subtitle = file.get_basename ();
+                        } catch (Error e) {
+                            warning ("Unexpected error during save: " + 
e.message);
+                        }
+                        break;
+                    case Gtk.ResponseType.NO:
+                        debug ("User doesn't care about the file, shoot it to 
space.");
+
+                        string cache = Path.build_filename 
(Environment.get_user_cache_dir (), "com.github.lainsce.quilter" + "/temp");
+                        file = File.new_for_path (cache);
+                        Widgets.SourceView.buffer.text = "";
+                        toolbar.subtitle = "New Document";
+                        settings.last_file = file.get_path ();
+                        settings.subtitle = file.get_basename ();
+                        break;
+                    case Gtk.ResponseType.CANCEL:
+                        debug ("User cancelled, don't do anything.");
+                        break;
+                    case Gtk.ResponseType.DELETE_EVENT:
+                        debug ("User cancelled, don't do anything.");
+                        break;
+                }
+                dialog.destroy();
+            });
 
-                    edit_view_content.is_modified = false;
-                    string cache = Path.build_filename 
(Environment.get_user_cache_dir (), "com.github.lainsce.quilter" + "/temp");
-                    file = File.new_for_path (cache);
-                    Widgets.SourceView.buffer.text = "";
-                    toolbar.subtitle = "New Document";
-                    settings.last_file = file.get_path ();
-                    settings.subtitle = file.get_basename ();
-                } else {
-                    return;
+            if (edit_view_content.is_modified) {
+                dialog.show ();
+                edit_view_content.is_modified = false;
+            } else {
+                try {
+                    Services.FileManager.save ();
+                } catch (Error e) {
+                    warning ("Unexpected error during save: " + e.message);
                 }
+                string cache = Path.build_filename 
(Environment.get_user_cache_dir (), "com.github.lainsce.quilter" + "/temp");
+                file = File.new_for_path (cache);
+                Widgets.SourceView.buffer.text = "";
+                toolbar.subtitle = "New Document";
+                settings.last_file = file.get_path ();
+                settings.subtitle = file.get_basename ();
             }
-            Widgets.SourceView.buffer.text = "";
-            toolbar.subtitle = "New Document";
         }
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/src/Services/DialogUtils.vala 
new/quilter-1.5.4/src/Services/DialogUtils.vala
--- old/quilter-1.5.1/src/Services/DialogUtils.vala     2018-02-11 
00:35:28.000000000 +0100
+++ new/quilter-1.5.4/src/Services/DialogUtils.vala     2018-03-18 
09:59:58.000000000 +0100
@@ -80,9 +80,7 @@
             add_button ("_Cancel", Gtk.ResponseType.CANCEL);
             add_button ("_Save", Gtk.ResponseType.YES);
 
-            var warning_image = new Gtk.Image.from_icon_name 
("dialog-warning", Gtk.IconSize.DIALOG);
-            warning_image.show ();
-            set_image (warning_image);
+            message_type = Gtk.MessageType.WARNING;
         }
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/src/Widgets/Cheatsheet.vala 
new/quilter-1.5.4/src/Widgets/Cheatsheet.vala
--- old/quilter-1.5.1/src/Widgets/Cheatsheet.vala       2018-02-11 
00:35:28.000000000 +0100
+++ new/quilter-1.5.4/src/Widgets/Cheatsheet.vala       2018-03-18 
09:59:58.000000000 +0100
@@ -76,13 +76,13 @@
             textstyle_grid.row_spacing = 6;
             textstyle_grid.column_spacing = 12;
 
-            var header_header = new Granite.HeaderLabel (_("Header"));
-            var header_one_label = new Label (_("# Header 1"));
-            var header_two_label = new Label (_("## Header 2"));
-            var header_three_label = new Label (_("### Header 3"));
-            var header_four_label = new Label (_("#### Header 4"));
-            var header_five_label = new Label (_("##### Header 5"));
-            var header_six_label = new Label (_("###### Header 6"));
+            var header_header = new Granite.HeaderLabel (_("Heading"));
+            var header_one_label = new Label (_("# Heading 1"));
+            var header_two_label = new Label (_("## Heading 2"));
+            var header_three_label = new Label (_("### Heading 3"));
+            var header_four_label = new Label (_("#### Heading 4"));
+            var header_five_label = new Label (_("##### Heading 5"));
+            var header_six_label = new Label (_("###### Heading 6"));
             var font_header = new Granite.HeaderLabel (_("Special Text"));
             var bold_font_label = new Label (_("** Bold text **"));
             var emph_font_label = new Label (_("* Emphasized text *"));
@@ -117,7 +117,7 @@
             var image_label = new Label (_("![Image 
Label](http://image.url.here.com)"));
             var special_header = new Granite.HeaderLabel (_("Special"));
             var codeblocks_label = new Label (_("```This is a code block```"));
-            var hr_label = new Label (_("--- ← This creates an horizontal 
rule"));
+            var hr_label = new Label (_("--- ← This creates a horizontal 
rule"));
 
             links_grid.attach (link_header, 0, 0, 5, 1);
             links_grid.attach (link_label, 0, 1, 3, 1);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/src/Widgets/SourceView.vala 
new/quilter-1.5.4/src/Widgets/SourceView.vala
--- old/quilter-1.5.1/src/Widgets/SourceView.vala       2018-02-11 
00:35:28.000000000 +0100
+++ new/quilter-1.5.4/src/Widgets/SourceView.vala       2018-03-18 
09:59:58.000000000 +0100
@@ -119,8 +119,8 @@
 
             is_modified = false;
 
-            if (settings.autosave = true) {
-                Timeout.add_seconds (10, () => {
+            if (settings.autosave = true && is_modified = true) {
+                Timeout.add (10000, () => {
                     on_text_modified ();
                     return true;
                 });
@@ -150,9 +150,7 @@
         }
 
         public void on_text_modified () {
-            if (!is_modified) {
-                is_modified = true;
-            } else {
+            if (is_modified) {
                 changed ();
                 Services.FileManager.save_work_file ();
                 is_modified = false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/src/Widgets/WebView.vala 
new/quilter-1.5.4/src/Widgets/WebView.vala
--- old/quilter-1.5.1/src/Widgets/WebView.vala  2018-02-11 00:35:28.000000000 
+0100
+++ new/quilter-1.5.4/src/Widgets/WebView.vala  2018-03-18 09:59:58.000000000 
+0100
@@ -31,8 +31,9 @@
             hexpand = true;
             var settingsweb = get_settings();
             settingsweb.enable_plugins = false;
-            settingsweb.enable_page_cache = true;
+            settingsweb.enable_page_cache = false;
             settingsweb.enable_developer_extras = false;
+            settingsweb.javascript_can_open_windows_automatically = false;
             web_context.set_cache_model(WebKit.CacheModel.DOCUMENT_VIEWER);
 
             update_html_view ();
@@ -172,8 +173,8 @@
             string text = Widgets.SourceView.buffer.text;
             string processed_mk;
             process_frontmatter (text, out processed_mk);
-            var mkd = new Markdown.Document (processed_mk.data, 0x00200000 + 
0x00004000 + 0x02000000 + 0x01000000 + 0x00400000 + 0x40000000);
-        mkd.compile (0x00200000 + 0x00004000 + 0x02000000 + 0x01000000 + 
0x00400000 + 0x40000000);
+            var mkd = new Markdown.Document (processed_mk.data, 0x00200000 + 
0x00004000 + 0x02000000 + 0x01000000 + 0x00400000 + 0x40000000 + 0x00000008);
+            mkd.compile (0x00200000 + 0x00004000 + 0x02000000 + 0x01000000 + 
0x00400000 + 0x40000000 + 0x00000008);
 
             string result;
             mkd.get_document (out result);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-1.5.1/vapi/mkdio.h 
new/quilter-1.5.4/vapi/mkdio.h
--- old/quilter-1.5.1/vapi/mkdio.h      2018-02-11 00:35:28.000000000 +0100
+++ new/quilter-1.5.4/vapi/mkdio.h      2018-03-18 09:59:58.000000000 +0100
@@ -86,8 +86,8 @@
 #define MKD_NOPANTS    0x00000004      /* don't run smartypants() */
 #define MKD_NOHTML     0x00000008      /* don't allow raw html through AT ALL 
*/
 #define MKD_STRICT     0x00000010      /* disable SUPERSCRIPT, 
RELAXED_EMPHASIS */
-#define MKD_TAGTEXT    0x00000020      /* process text inside an html tag; no
-                                        * <em>, no <bold>, no html or [] 
expansion */
+#define MKD_TAGTEXT    0x00000020      /* process text inside an html tag; no 
+                                 * <em>, no <bold>, no html or [] expansion */
 #define MKD_NO_EXT     0x00000040      /* don't allow pseudo-protocols */
 #define MKD_NOEXT      MKD_NO_EXT      /* ^^^ (aliased for user convenience) */
 #define MKD_CDATA      0x00000080      /* generate code for xml ![CDATA[...]] 
*/
@@ -108,8 +108,4 @@
 #define MKD_NOSTYLE    0x00400000      /* don't extract <style> blocks */
 #define MKD_EMBED      MKD_NOLINKS|MKD_NOIMAGE|MKD_TAGTEXT
 
-/* special flags for mkd_in() and mkd_string()
- */
-
-
 #endif/*_MKDIO_D*/
\ No newline at end of file


Reply via email to