mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Customize web server listening port
This commit is contained in:
@@ -95,8 +95,16 @@ class ClapperNetworkPage extends PrefsBase.Grid
|
|||||||
{
|
{
|
||||||
super._init();
|
super._init();
|
||||||
|
|
||||||
|
let checkButton;
|
||||||
|
let spinButton;
|
||||||
|
|
||||||
this.addTitle('Client');
|
this.addTitle('Client');
|
||||||
this.addPlayFlagCheckButton('Progressive download buffering', Gst.PlayFlags.DOWNLOAD);
|
this.addPlayFlagCheckButton('Progressive download buffering', Gst.PlayFlags.DOWNLOAD);
|
||||||
|
|
||||||
|
this.addTitle('Server');
|
||||||
|
checkButton = this.addCheckButton('Allow remote control of the player', 'webserver-enabled');
|
||||||
|
spinButton = this.addSpinButton('Listening port', 1024, 65535, 'webserver-port');
|
||||||
|
checkButton.bind_property('active', spinButton, 'visible', GObject.BindingFlags.SYNC_CREATE);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user