GNOME Bugzilla – Bug 593345
[status icon] "playing" icon on 24 pixels gnome-panel is somehow distorted
Last modified: 2009-09-05 07:43:02 UTC
Created attachment 141905 [details] image that shows the problem In "neutral" mode, the status icon show a clear crisp icon of rhythmbox, while the playing icons seems to be a downsized (i belive) version of the "playing" icon. This is using a 24 pixels high gnome-panel. If you use a gnome-panel 26 pixels in height, the "neutral" icon is the exact same as with a 24 pixel gnome-panel, and the "playing" icon is a clear crisp version of that. To sum it up, in < 26 pixels, the "playing" icon does not seem to be of the proper/native size, but downscaled from another size. I'm attaching an image where the problem is quite apparent. This is tested on ubuntu 9.04 (package recompiled from 9.10). Rhythmbox version: 0.12.4.
*** This bug has been marked as a duplicate of bug 524488 ***
So you mean that the playing icon and the neutral icon are not displayed the same... Something really great to fix that GTK+ bug would be to get the code that creates the two icons, and see what is different. Rhythmbox devs, any idea?
This is the code that changes the icon: static void rb_tray_icon_playing_changed_cb (RBShellPlayer *player, gboolean playing, RBTrayIcon *tray) { const char *icon_name; icon_name = playing ? RB_STOCK_TRAY_ICON_PLAYING : RB_STOCK_TRAY_ICON_NOT_PLAYING; gtk_status_icon_set_from_icon_name (tray->priv->icon, icon_name); } the icon is originally created like this: tray->priv->icon = gtk_status_icon_new_from_icon_name (RB_STOCK_TRAY_ICON_NOT_PLAYING); so I don't really know how we end up with different behaviour for the two icons.