# HG changeset patch # User Cristi Magherusan # Date 1201476463 -7200 # Node ID 977877bb212f08c6ae07a527cd7b3c9175de8954 # Parent c399e0fa97912d7b8b43bdb07d101b71d68d00e9 fixed the textboxes diff -r c399e0fa9791 -r 977877bb212f src/audacious/ui_skinned_textbox.c --- a/src/audacious/ui_skinned_textbox.c Mon Jan 28 00:33:23 2008 +0200 +++ b/src/audacious/ui_skinned_textbox.c Mon Jan 28 01:27:43 2008 +0200 @@ -252,14 +252,14 @@ if (GTK_WIDGET_REALIZED (widget)) gdk_window_move_resize(widget->window, widget->allocation.x, widget->allocation.y, allocation->width, allocation->height); - if (textbox->x + priv->move_x == widget->allocation.x/(priv->scaled ? cfg.scale_factor : 1)); + if (textbox->x + priv->move_x - widget->allocation.x/(priv->scaled ? cfg.scale_factor : 1) <3); priv->move_x = 0; - if (textbox->y + priv->move_y == widget->allocation.y/(priv->scaled ? cfg.scale_factor : 1)); + if (textbox->y + priv->move_y - widget->allocation.y/(priv->scaled ? cfg.scale_factor : 1) <3); priv->move_y = 0; textbox->x = widget->allocation.x/(priv->scaled ? cfg.scale_factor : 1); textbox->y = widget->allocation.y/(priv->scaled ? cfg.scale_factor : 1); - if (textbox->width != (guint) (widget->allocation.width / (priv->scaled ? cfg.scale_factor : 1))) { + if (textbox->width - (guint) (widget->allocation.width / (priv->scaled ? cfg.scale_factor : 1)) > 2) { textbox->width = (guint) (widget->allocation.width / (priv->scaled ? cfg.scale_factor : 1)); if (priv->pixbuf_text) g_free(priv->pixbuf_text); priv->pixbuf_text = NULL;