# HG changeset patch # User Tomasz Mon # Date 1194543194 -3600 # Node ID 11145cc182f190636db58dee609a6dbe9b379175 # Parent a318d4b479d2a66f81dd471a8f9a4e247b1d94dd correct mf0102 commit diff -r a318d4b479d2 -r 11145cc182f1 src/audacious/skin.c --- a/src/audacious/skin.c Thu Nov 08 17:11:34 2007 +0100 +++ b/src/audacious/skin.c Thu Nov 08 18:33:14 2007 +0100 @@ -1624,6 +1624,10 @@ if (pixmap) ui_skinned_playstatus_set_size(mainwin_playstatus, 11, pixmap->height); + pixmap = skin_get_pixmap(skin, SKIN_EQMAIN); + if (pixmap->height >= 313) + gtk_widget_show(equalizerwin_graph); + return error; } @@ -1745,8 +1749,9 @@ 164 + xdest, 89, xdest, ydest, width, height); width = pixmap->width - xsrc; } else if (pixmap_id == SKIN_EQMAIN) { - /* TODO: we have to show this somewhere again! -- mf0102 */ - gtk_widget_hide(equalizerwin_graph); + /* there are skins which EQMAIN doesn't include pixmap for equalizer graph */ + if (pixmap->height != 313) /* skins with EQMAIN which is 313 in height seems to display ok */ + gtk_widget_hide(equalizerwin_graph); } else return; }