[gnome-music/wip/merge: 200/343] player: set icon for repeat state



commit 2fb8f3fc51fa8ccad6e36cedf64a50afb9260201
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Jul 16 19:31:05 2013 +0200

    player: set icon for repeat state

 gnomemusic/player.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 0214703..790ce6a 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -464,7 +464,7 @@ class Player(GObject.GObject):
         elif self.repeat == RepeatType.SONG:
             icon = 'media-playlist-repeat-song-symbolic'
 
-        self.repeatBtnImage.icon_name = icon
+        self.repeatBtnImage.set_from_icon_name(icon, 0)
         #self._dbusImpl.emit_property_changed('LoopStatus', GLib.Variant.new('s', self.LoopStatus))
         #self._dbusImpl.emit_property_changed('Shuffle', GLib.Variant.new('b', self.Shuffle))
 


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