From 71c545454722df460f347da7af08c0dcafb20e30 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Sat, 12 Sep 2020 19:28:17 +0200 Subject: [PATCH] Fix invisible unfullscreen button --- clapper_src/buttons.js | 2 ++ clapper_src/controls.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clapper_src/buttons.js b/clapper_src/buttons.js index 24949869..a59286b4 100644 --- a/clapper_src/buttons.js +++ b/clapper_src/buttons.js @@ -14,6 +14,8 @@ class BoxedIconButton extends Gtk.Button this.box = new Gtk.Box(); this.box.pack_start(this, false, false, 0); + + super.show(); } get visible() diff --git a/clapper_src/controls.js b/clapper_src/controls.js index a4e9f48a..62958761 100644 --- a/clapper_src/controls.js +++ b/clapper_src/controls.js @@ -54,7 +54,6 @@ var Controls = GObject.registerClass({ Gtk.IconSize.SMALL_TOOLBAR, true ); - this.fullscreenButton = Gtk.Button.new_from_icon_name( 'view-fullscreen-symbolic', Gtk.IconSize.SMALL_TOOLBAR