changeset 3302:1588a64f0204 trunk

Automated merge with ssh://hg.atheme-project.org//hg/audacious
author Christian Birchinger <joker@netswarm.net>
date Fri, 10 Aug 2007 14:39:53 +0200
parents 008530664ba1 (current diff) 8da22338c194 (diff)
children eaf68ed98166
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/skin.c	Fri Aug 10 14:39:42 2007 +0200
+++ b/src/audacious/skin.c	Fri Aug 10 14:39:53 2007 +0200
@@ -1639,6 +1639,9 @@
             gdk_draw_drawable(drawable, gc, skin_get_pixmap(bmp_active_skin, SKIN_MAIN)->pixmap,
                               212 + xdest, 41, xdest, ydest, width, height);
             height = pixmap->height/2;
+        } else if (pixmap_id == SKIN_POSBAR) {
+            /* last 59 pixels of SKIN_POSBAR are knobs (normal and selected) */
+            gtk_widget_set_size_request(mainwin_position, pixmap->width - 59, pixmap->height);
         } else
             return;
     }