From 242377cf600619dc7387a7c6fdb86aafcda3d10e Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 18 Apr 2018 08:25:19 -0400 Subject: [PATCH 1/4] Add screenshots to metadata This closes #1 --- data/write-as-gtk.appdata.xml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/data/write-as-gtk.appdata.xml b/data/write-as-gtk.appdata.xml index 6f311fe..a6f2445 100644 --- a/data/write-as-gtk.appdata.xml +++ b/data/write-as-gtk.appdata.xml @@ -27,8 +27,20 @@ write-as-gtk - - + + + The Write.as editor. + https://write.as/img/screens/gtk/serif.png + + + The Write.as editor in dark mode. + https://write.as/img/screens/gtk/serif-dark.png + + + https://write.as/img/screens/gtk/sans.png + + + https://write.as/img/screens/gtk/monospace.png + + From 55678c93b95013055e94d210ed50863e0bd854f9 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 18 Apr 2018 09:45:00 -0400 Subject: [PATCH 2/4] Append publish result instead of replacing text --- src/window.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.vala b/src/window.vala index 0afcec2..c0343e5 100644 --- a/src/window.vala +++ b/src/window.vala @@ -64,7 +64,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow { title = _("Publishing post…"); canvas.sensitive = false; publish.begin((obj, res) => { - canvas.buffer.text = publish.end(res); + canvas.buffer.text += "\n\n" + publish.end(res); canvas.sensitive = true; }); }); From 62deb28472deb4f70fa32df1c31525a20ba12f96 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 18 Apr 2018 09:48:46 -0400 Subject: [PATCH 3/4] Fix monospace font value I slipped on this one -- the correct font value for monospace posts is "wrap" not "mono". "mono" is more for code or terminal output, not the writing that users will do with this app. --- src/window.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.vala b/src/window.vala index c0343e5..ede7e6d 100644 --- a/src/window.vala +++ b/src/window.vala @@ -96,7 +96,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow { build_fontoption(fonts.popup, _("Serif"), "serif", font); build_fontoption(fonts.popup, _("Sans-serif"), "sans", "'Open Sans', 'Segoe UI', Tahoma, Arial, sans-serif"); - build_fontoption(fonts.popup, _("Monospace"), "mono", "Hack, consolas," + + build_fontoption(fonts.popup, _("Monospace"), "wrap", "Hack, consolas," + "Menlo-Regular, Menlo, Monaco, 'ubuntu mono', monospace"); fonts.popup.show_all(); } From e1599a2bf84e636833e81a118532a7b6b88e74c2 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 18 Apr 2018 14:30:07 -0400 Subject: [PATCH 4/4] Fix Recommend field in debian control file Previously it gave this warning: dpkg-source: warning: unknown information field 'Recommend' in input data in package's section of control info file --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index b825cc4..ab2d071 100644 --- a/debian/control +++ b/debian/control @@ -13,5 +13,5 @@ Standards-Version: 3.9.3 Package: write-as-gtk Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} -Recommend: fonts-open-sans, fonts-hack +Recommends: fonts-open-sans, fonts-hack Description: A distraction free and private writing tool, with builtin publishing.