Mercurial > audlegacy
changeset 3007:6cb0f58e7e7d trunk
oops, this shouldn't get commited
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 08 Jul 2007 20:36:10 +0200 |
parents | 3c4ed53a685f |
children | 7cea5ada1956 99865f696f13 |
files | src/audacious/ui_skinned_button.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_button.c Sun Jul 08 20:33:32 2007 +0200 +++ b/src/audacious/ui_skinned_button.c Sun Jul 08 20:36:10 2007 +0200 @@ -234,7 +234,7 @@ UiSkinnedButtonPrivate *priv = UI_SKINNED_BUTTON_GET_PRIVATE (button); widget->allocation = *allocation; if (GTK_WIDGET_REALIZED (widget)) -gdk_window_move_resize(widget->window, allocation->x*(1+priv->double_size), allocation->y*(1+priv->double_size), allocation->width, allocation->height); + gdk_window_move_resize(widget->window, allocation->x, allocation->y, allocation->width, allocation->height); button->x = widget->allocation.x/(priv->double_size ? 2 : 1); button->y = widget->allocation.y/(priv->double_size ? 2 : 1); priv->move_x = 0; @@ -467,7 +467,7 @@ priv->double_size = !priv->double_size; gtk_widget_set_size_request(widget, priv->w*(1+priv->double_size), priv->h*(1+priv->double_size)); - //gtk_widget_set_uposition(widget, button->x*(1+priv->double_size), button->y*(1+priv->double_size)); + gtk_widget_set_uposition(widget, button->x*(1+priv->double_size), button->y*(1+priv->double_size)); gtk_widget_queue_draw(widget); }