This commit is contained in:
Adrian Cochrane 2018-04-19 09:03:14 +12:00
commit 6b8e15f78f
3 changed files with 19 additions and 7 deletions

View File

@ -27,8 +27,20 @@
<binary>write-as-gtk</binary> <binary>write-as-gtk</binary>
</provides> </provides>
<!-- TODO Add the screenshots to this metadata, <screenshots>
but for that we need them publicly accessible online. --> <screenshot type="default">
<!-- Once that's done, it's a simple matter of following <caption>The Write.as editor.</caption>
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html --> <image type="source">https://write.as/img/screens/gtk/serif.png</image>
</screenshot>
<screenshot>
<caption>The Write.as editor in dark mode.</caption>
<image type="source">https://write.as/img/screens/gtk/serif-dark.png</image>
</screenshot>
<screenshot>
<image type="source">https://write.as/img/screens/gtk/sans.png</image>
</screenshot>
<screenshot>
<image type="source">https://write.as/img/screens/gtk/monospace.png</image>
</screenshot>
</screenshots>
</components> </components>

2
debian/control vendored
View File

@ -13,5 +13,5 @@ Standards-Version: 3.9.3
Package: write-as-gtk Package: write-as-gtk
Architecture: any Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends} 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. Description: A distraction free and private writing tool, with builtin publishing.

View File

@ -66,7 +66,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
title = _("Publishing post…"); title = _("Publishing post…");
canvas.sensitive = false; canvas.sensitive = false;
publish.begin((obj, res) => { publish.begin((obj, res) => {
canvas.buffer.text = publish.end(res); canvas.buffer.text += "\n\n" + publish.end(res);
canvas.sensitive = true; canvas.sensitive = true;
}); });
}); });
@ -98,7 +98,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
build_fontoption(fonts.popup, _("Serif"), "serif", font); build_fontoption(fonts.popup, _("Serif"), "serif", font);
build_fontoption(fonts.popup, _("Sans-serif"), "sans", build_fontoption(fonts.popup, _("Sans-serif"), "sans",
"'Open Sans', 'Segoe UI', Tahoma, Arial, sans-serif"); "'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"); "Menlo-Regular, Menlo, Monaco, 'ubuntu mono', monospace");
fonts.popup.show_all(); fonts.popup.show_all();
} }