changeset 4123:ab59718d8704

- Update mainwin width when (un)shading the main window, as the mainwinWidth skin hint may be different from the proper shaded width.
author George Averill <nhjm449@gmail.com>
date Tue, 25 Dec 2007 17:21:04 -0600
parents e1468d0b118d
children d217b71e5836
files src/audacious/ui_main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_main.c	Tue Dec 25 14:14:33 2007 -0600
+++ b/src/audacious/ui_main.c	Tue Dec 25 17:21:04 2007 -0600
@@ -254,7 +254,7 @@
         dock_shade(dock_window_list, GTK_WINDOW(mainwin), height * (cfg.doublesize + 1));
     }
 
-    mainwin_refresh_visible();
+    mainwin_refresh_hints();
     ui_skinned_set_push_button_data(mainwin_shade, 0, cfg.player_shaded ? 27 : 18, 9, cfg.player_shaded ? 27 : 18);
 }