Mercurial > audlegacy
changeset 3919:11145cc182f1
correct mf0102 commit
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Thu, 08 Nov 2007 18:33:14 +0100 |
parents | a318d4b479d2 |
children | c2b2828186ba |
files | src/audacious/skin.c |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }