mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
18 lines
446 B
JavaScript
18 lines
446 B
JavaScript
const { GObject } = imports.gi;
|
|
const { AppBase } = imports.clapper_src.appBase;
|
|
const { HeaderBarBase } = imports.clapper_src.headerbarBase;
|
|
|
|
var AppRemote = GObject.registerClass(
|
|
class ClapperAppRemote extends AppBase
|
|
{
|
|
vfunc_startup()
|
|
{
|
|
super.vfunc_startup();
|
|
|
|
let headerBar = new HeaderBarBase(this.active_window);
|
|
this.active_window.set_titlebar(headerBar);
|
|
|
|
this.active_window.maximize();
|
|
}
|
|
});
|