[goobox] correctly update the play button icon after pausing



commit a2510c02c446c2665c5574a76af763f13b6840ee
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Mar 30 23:04:51 2015 +0200

    correctly update the play button icon after pausing

 src/goo-player-bar.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/goo-player-bar.c b/src/goo-player-bar.c
index 7a30ed1..8734c27 100644
--- a/src/goo-player-bar.c
+++ b/src/goo-player-bar.c
@@ -492,8 +492,12 @@ player_done_cb (GooPlayer       *player,
        case GOO_PLAYER_ACTION_PLAY:
        case GOO_PLAYER_ACTION_STOP:
        case GOO_PLAYER_ACTION_MEDIUM_REMOVED:
+               _goo_player_bar_update_play_button_icon (self, FALSE);
                _goo_player_bar_set_time (self, 0);
                break;
+       case GOO_PLAYER_ACTION_PAUSE:
+               _goo_player_bar_update_play_button_icon (self, FALSE);
+               break;
        default:
                break;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]