Mercurial > audlegacy
changeset 3958:ad14a25a31fa
fix douebliesize for mainwin_info on startup; Closes Gentoo #199071
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Fri, 16 Nov 2007 18:55:48 +0100 |
parents | fed07be6b708 |
children | a575c29cee05 |
files | src/audacious/ui_main.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_main.c Fri Nov 16 15:20:07 2007 +0100 +++ b/src/audacious/ui_main.c Fri Nov 16 18:55:48 2007 +0100 @@ -593,9 +593,11 @@ gtk_fixed_move(GTK_FIXED(SKINNED_WINDOW(mainwin)->fixed), GTK_WIDGET(mainwin_info), bmp_active_skin->properties.mainwin_text_x, bmp_active_skin->properties.mainwin_text_y); - if (bmp_active_skin->properties.mainwin_text_width) - gtk_widget_set_size_request(mainwin_info, bmp_active_skin->properties.mainwin_text_width*(1+cfg.doublesize), - UI_SKINNED_TEXTBOX(mainwin_info)->height*(1+cfg.doublesize)); + if (bmp_active_skin->properties.mainwin_text_width) { + UI_SKINNED_TEXTBOX(mainwin_info)->width = bmp_active_skin->properties.mainwin_text_width; + gtk_widget_set_size_request(mainwin_info, bmp_active_skin->properties.mainwin_text_width*(1+cfg.doublesize), + UI_SKINNED_TEXTBOX(mainwin_info)->height*(1+cfg.doublesize)); + } if (bmp_active_skin->properties.mainwin_infobar_x && bmp_active_skin->properties.mainwin_infobar_y) gtk_fixed_move(GTK_FIXED(SKINNED_WINDOW(mainwin)->fixed), GTK_WIDGET(mainwin_othertext), bmp_active_skin->properties.mainwin_infobar_x,