mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +02:00
Add initial WebSocket client app
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const { GObject } = imports.gi;
|
||||
const { AppBase } = imports.clapper_src.appBase;
|
||||
const { HeaderBarBase } = imports.clapper_src.headerbarBase;
|
||||
const { WidgetRemote } = imports.clapper_src.widgetRemote;
|
||||
|
||||
var AppRemote = GObject.registerClass(
|
||||
class ClapperAppRemote extends AppBase
|
||||
@@ -9,6 +10,9 @@ class ClapperAppRemote extends AppBase
|
||||
{
|
||||
super.vfunc_startup();
|
||||
|
||||
let clapperWidget = new WidgetRemote();
|
||||
this.active_window.set_child(clapperWidget);
|
||||
|
||||
let headerBar = new HeaderBarBase(this.active_window);
|
||||
this.active_window.set_titlebar(headerBar);
|
||||
|
||||
|
Reference in New Issue
Block a user