Triggered

This commit is contained in:
bleakgrey 2018-05-19 20:32:19 +03:00
parent 1d597e61dd
commit 5a854a7ae0
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class Tootle.PostDialog : Gtk.Dialog {
attach.clicked.connect (() => attachments.select ()); attach.clicked.connect (() => attachments.select ());
spoiler = new ImageToggleButton ("image-red-eye-symbolic"); spoiler = new ImageToggleButton ("image-red-eye-symbolic");
spoiler.tooltip_text = _("Spoiler warning"); spoiler.tooltip_text = _("Spoiler Warning");
spoiler.set_action (); spoiler.set_action ();
spoiler.toggled.connect (() => { spoiler.toggled.connect (() => {
spoiler_revealer.reveal_child = spoiler.active; spoiler_revealer.reveal_child = spoiler.active;