From 0ce851b514394e69e3b0f55b79ac571db12e672d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 22 Feb 2021 12:41:44 +0100 Subject: [PATCH] Debug headerbar layout info --- src/headerbarBase.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/headerbarBase.js b/src/headerbarBase.js index 959d1c3d..a4ab8b44 100644 --- a/src/headerbarBase.js +++ b/src/headerbarBase.js @@ -1,6 +1,9 @@ const { GObject, Gtk } = imports.gi; +const Debug = imports.src.debug; const Misc = imports.src.misc; +const { debug } = Debug; + var HeaderBarBase = GObject.registerClass( class ClapperHeaderBarBase extends Gtk.Box { @@ -139,6 +142,8 @@ class ClapperHeaderBarBase extends Gtk.Box let showClose = false; let spacerAdded = false; + debug(`headerbar layout: ${modLayout}`); + for(let name of layoutArr) { const widget = this[`${name}Widget`]; if(!widget) continue;