changeset 3225:939a44cae771 trunk

I hope it'll work now
author Tomasz Mon <desowin@gmail.com>
date Thu, 02 Aug 2007 17:26:12 +0200
parents 0e1d0ef5ed99
children db3983f423f3 fb23cdc95976
files src/audacious/ui_skinned_textbox.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_skinned_textbox.c	Thu Aug 02 17:18:04 2007 +0200
+++ b/src/audacious/ui_skinned_textbox.c	Thu Aug 02 17:26:12 2007 +0200
@@ -273,7 +273,8 @@
             priv->offset = 0;
             gtk_widget_set_size_request(widget, textbox->width, textbox->height);
             gtk_widget_queue_draw(GTK_WIDGET(textbox));
-        }
+        } else if (priv->resize_width == 0)
+            textbox->width = widget->allocation.width/(priv->double_size ? 2 : 1);
     }
 }