Add tooltip to publish button

It wasn't clear what this button did without pushing it, at which point my note contents were uploaded to the Internet.
This commit is contained in:
Cassidy James Blaede 2018-12-17 11:33:15 -07:00 committed by Matt Baer
parent cccffacf55
commit 58e67738b7

View File

@ -134,6 +134,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
var publish_button = new Gtk.Button.from_icon_name("document-send", var publish_button = new Gtk.Button.from_icon_name("document-send",
Gtk.IconSize.SMALL_TOOLBAR); Gtk.IconSize.SMALL_TOOLBAR);
publish_button.tooltip_text = _("Publish to Write.as on the web");
publish_button.clicked.connect(() => { publish_button.clicked.connect(() => {
canvas.buffer.text += "\n\n" + publish(); canvas.buffer.text += "\n\n" + publish();