changeset 3277:949480cc9d98 trunk

don't do gtk_widget_show_all(mainwin) when player is not visible
author Tomasz Mon <desowin@gmail.com>
date Thu, 09 Aug 2007 10:08:54 +0200
parents 019ce3ee80d8
children 065ae0990247
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	Wed Aug 08 20:21:51 2007 +0200
+++ b/src/audacious/ui_main.c	Thu Aug 09 10:08:54 2007 +0200
@@ -523,7 +523,7 @@
 static void
 mainwin_refresh_visible(void)
 {
-    if (!bmp_active_skin)
+    if (!bmp_active_skin || !cfg.player_visible)
         return;
 
     gtk_widget_show_all(mainwin);