changeset 3025:bd32633b4de2

show UiSkinnedNumber only when track is playing
author Tomasz Mon <desowin@gmail.com>
date Tue, 10 Jul 2007 17:08:38 +0200
parents 883713b145f8
children e9e925c3adb5 16bd351fa0b9
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 Jul 10 17:00:43 2007 +0200
+++ b/src/audacious/ui_main.c	Tue Jul 10 17:08:38 2007 +0200
@@ -311,7 +311,7 @@
         gtk_widget_hide(mainwin_stime_sec);
         widget_hide(WIDGET(mainwin_sposition));
 
-        if (!GTK_WIDGET_VISIBLE(mainwin_minus_num)) {
+        if (playback_get_playing() && !GTK_WIDGET_VISIBLE(mainwin_minus_num)) {
             gtk_widget_show(mainwin_minus_num);
             gtk_widget_show(mainwin_10min_num);
             gtk_widget_show(mainwin_min_num);