Remember and restore last window dimensions on launch

This commit is contained in:
Rafostar
2020-10-31 09:04:41 +01:00
parent 36145adf1a
commit a019ef90ca
4 changed files with 32 additions and 3 deletions

View File

@@ -56,9 +56,6 @@ var Widget = GObject.registerClass({
this.mapSignal = this.connect('map', this._onMap.bind(this));
this.player = new Player();
this.player.widget.width_request = 960;
this.player.widget.height_request = 540;
this.player.selfConnect('position-updated', this._onPlayerPositionUpdated.bind(this));
this.player.selfConnect('duration-changed', this._onPlayerDurationChanged.bind(this));
this.player.selfConnect('volume-changed', this._onPlayerVolumeChanged.bind(this));