Skip to content

Change icon in tray on Play/Pause action #2

Closed
aboutbus opened this Issue Jan 9, 2012 · 3 comments

2 participants

@aboutbus
aboutbus commented Jan 9, 2012

Is it possible to change icon in tray on Play/Pause action?

@palfrey
Owner
palfrey commented Jan 13, 2012

Yes, actually. It's a bit fiddly because there isn't a "rhythmbox is playing" icon. OTOH, there's a Gnome "playing icon" and the rhythmbox icon which I can combine to do things.

@palfrey palfrey added a commit that referenced this issue Jan 13, 2012
@palfrey Add play/not-play icons, fixing #2 0c7889c
@palfrey palfrey closed this Jan 13, 2012
@aboutbus

You can use two different icons from rhythmbox, without Gnome "playing icon".
For example:
rhythmboxIcon = "/usr/share/icons/hicolor/32x32/apps/rhythmbox.png"
playIcon = "/usr/share/pixmaps/rhythmbox-small.xpm"

Here is a my patch.
http://pastebin.com/GLeQKVXp

Status icon looks cute for me now. Thank you.

@palfrey
Owner
palfrey commented Jan 13, 2012

True, it could be done like that but I'd personally find it very hard to tell which one is the playing icon. This way you get an unambiguous play icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.