mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Debug headerbar layout info
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user