mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Change pause icon to play on stopped video
This commit is contained in:
@@ -54,11 +54,10 @@ class ClapperInterface extends Gtk.Grid
|
|||||||
_onPlayerStateChanged(player, state)
|
_onPlayerStateChanged(player, state)
|
||||||
{
|
{
|
||||||
switch(state) {
|
switch(state) {
|
||||||
case GstPlayer.PlayerState.STOPPED:
|
|
||||||
break;
|
|
||||||
case GstPlayer.PlayerState.BUFFERING:
|
case GstPlayer.PlayerState.BUFFERING:
|
||||||
break;
|
break;
|
||||||
case GstPlayer.PlayerState.PAUSED:
|
case GstPlayer.PlayerState.PAUSED:
|
||||||
|
case GstPlayer.PlayerState.STOPPED:
|
||||||
this.controls.togglePlayButton.image = this.controls.playImage;
|
this.controls.togglePlayButton.image = this.controls.playImage;
|
||||||
break;
|
break;
|
||||||
case GstPlayer.PlayerState.PLAYING:
|
case GstPlayer.PlayerState.PLAYING:
|
||||||
|
Reference in New Issue
Block a user