Fix custom CSS loading for remote app

This commit is contained in:
Rafostar
2020-12-15 23:26:24 +01:00
parent 234451f62a
commit b6c947efa6
3 changed files with 21 additions and 15 deletions

View File

@@ -1,4 +1,5 @@
const { GObject, Gtk } = imports.gi;
const Misc = imports.clapper_src.misc;
const { PlayerRemote } = imports.clapper_src.playerRemote;
var WidgetRemote = GObject.registerClass(
@@ -8,6 +9,8 @@ class ClapperWidgetRemote extends Gtk.Grid
{
super._init();
Misc.loadCustomCss();
this.player = new PlayerRemote();
this.player.webclient.passMsgData = this.receiveWs.bind(this);
}