mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Debug headerbar layout info
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
const { GObject, Gtk } = imports.gi;
|
const { GObject, Gtk } = imports.gi;
|
||||||
|
const Debug = imports.src.debug;
|
||||||
const Misc = imports.src.misc;
|
const Misc = imports.src.misc;
|
||||||
|
|
||||||
|
const { debug } = Debug;
|
||||||
|
|
||||||
var HeaderBarBase = GObject.registerClass(
|
var HeaderBarBase = GObject.registerClass(
|
||||||
class ClapperHeaderBarBase extends Gtk.Box
|
class ClapperHeaderBarBase extends Gtk.Box
|
||||||
{
|
{
|
||||||
@@ -139,6 +142,8 @@ class ClapperHeaderBarBase extends Gtk.Box
|
|||||||
let showClose = false;
|
let showClose = false;
|
||||||
let spacerAdded = false;
|
let spacerAdded = false;
|
||||||
|
|
||||||
|
debug(`headerbar layout: ${modLayout}`);
|
||||||
|
|
||||||
for(let name of layoutArr) {
|
for(let name of layoutArr) {
|
||||||
const widget = this[`${name}Widget`];
|
const widget = this[`${name}Widget`];
|
||||||
if(!widget) continue;
|
if(!widget) continue;
|
||||||
|
Reference in New Issue
Block a user