Mercurial > audlegacy
changeset 3189:1745c9063286 trunk
Automated merge with ssh://hg.atheme.org//hg/audacious
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Fri, 27 Jul 2007 19:41:37 -0500 |
parents | 3e008205a777 (diff) e7bbf59b81ae (current diff) |
children | dcc92b58f06e |
files | src/audacious/ui_main.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_main.c Sat Jul 28 01:12:03 2007 +0200 +++ b/src/audacious/ui_main.c Fri Jul 27 19:41:37 2007 -0500 @@ -2960,6 +2960,17 @@ g_free(time_str); } + if (length == -1) { + gtk_widget_hide(mainwin_position); + gtk_widget_hide(mainwin_sposition); + return TRUE; + } else { + gtk_widget_show(mainwin_position); + if (cfg.player_shaded) + gtk_widget_show(mainwin_sposition); + return TRUE; + } + time /= 1000; length /= 1000; if (length > 0) {